Fortinet 400 manual Downloading the URL block list, Uploading a URL block list, 271

Models: 400

1 308
Download 308 pages 48.56 Kb
Page 271
Image 271

Web filtering

URL blocking

 

 

Downloading the URL block list

You can back up the URL block list by downloading it to a text file on the management computer.

1Go to Web Filter > URL Block.

2Select 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 with a 1 or no number when you upload the text file.

Figure 40: Example URL block list text file

www.badsite.com/index 1 www.badsite.com/products 1 182.63.44.67/index 1

You can either create the URL block list yourself 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 your own 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.

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.

1In a text editor, create the list of URLs and patterns to block.

2Using the web-based manager, go to Web Filter > URL Block.

3Select Upload URL Block List .

4Type the path and filename of your URL block list text file, or select Browse and locate the file.

5Select OK to upload the file to the FortiGate unit.

6Select Return to display the updated URL block list. Each page of the URL block list displays 100 URLs.

7Use Page Down and Page Up to navigate through the URL block list.

8You can continue to maintain the URL block list by making changes to the text file and uploading it again.

FortiGate-400 Installation and Configuration Guide

271

Page 271
Image 271
Fortinet 400 manual Downloading the URL block list, Uploading a URL block list, 271