Fortinet FortiGate-800 Network Card User Manual


 
Web filtering URL blocking
FortiGate-800 Installation and Configuration Guide 295
Downloading the Web URL block list
You can back up the Web URL block list by downloading it to a text file on the
management computer.
To download a Web URL block list
1 Go to Web Filter > Web URL Block.
2 Select Download URL Block List .
The FortiGate unit downloads the list to a text file on the management computer. You
can specify a location to which to download the text file as well as a name for the text
file.
Uploading a URL block list
You can create a URL block list in a text editor and then upload the text file to the
FortiGate unit. Add one URL or pattern to each line of the text file. You can follow the
item with a space and then a 1 to enable or a zero (0) to disable the URL. If you do not
add this information to the text file, the FortiGate unit automatically enables all URLs
and patterns that are followed by a 1 or no number when you upload the text file.
Figure 73: Example URL block list text file
You can either create the URL block list or add a URL list created by a third-party URL
block or blacklist service. For example, you can download the squidGuard blacklists
available at http://www.squidguard.org/blacklist/ as a starting point for creating a URL
block list. Three times per week, the squidGuard robot searches the web for new
URLs to add to the blacklists. You can upload the squidGuard blacklists to the
FortiGate unit as a text file, with only minimal editing to remove comments at the top of
each list and to combine the lists that you want into a single file.
To upload a URL block list
1 In a text editor, create the list of URLs and patterns that you want to block.
2 Using the web-based manager, go to Web Filter > Web URL Block.
3 Select Upload URL Block List .
4 Type the path and filename of the URL block list text file, or select Browse and locate
the file.
5 Select OK to upload the file to the FortiGate unit.
6 Select Return to display the updated Web URL block list.
Each page of the Web URL block list displays 100 URLs.
7 Use Page Down and Page Up to navigate through the Web URL block list.
www.badsite.com/index 1
www.badsite.com/products 1
182.63.44.67/index 1
Note: All changes made to the URL block list using the web-based manager are lost when you
upload a new list. However, you can download your current URL block list, add more items to it
using a text editor, and then upload the edited list to the FortiGate unit.