Skip to main content
Somashekara_Hanumant
Staff & Editor
Staff & Editor
April 17, 2010

Technical Tip: Web URL filtering in FortiOS

  • April 17, 2010
  • 0 replies
  • 4186 views
Description This article describes an example of how to configure Web URL filtering.
Scope FortiOS.
Solution

As an example, the following URLs are used in this article:

 

On the FortiGate GUI, the steps are below:

Security Profiles -> Web Filter -> Create New (Set a name for the profile).

 

Under Static URL Filter, enable the option URL Filter, as seen below, on v7.6.6 as an example:

 

URL Filter 1.png

 

Create New, and add the URL as: .*example2.com.

And Type as a wildcard.

As per the requirement, the Action is Block.

 

This option will block all the subdomains related to this URL.

However, if only this specific URL is expected to be blocked, the entry will be as follows: www.example2.com.

 

Type: Simple and Action Block.

 

The same line of thought is used to Allow the other URL, but the action is now set as Allow or Exempt.

 

After these two entries are added, save the Profile with OK.

 

The configuration now is:

 

URL Filter 2.png

 

To conclude the configuration, enable Web Filter under the firewall policy responsible for this traffic and add the newly created Web Filter security profile.