FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Somashekara_Hanumant
Article Id 190986

Purpose
This article provides an example on how to configure Web URL filter in version 4.0 MR2

 

 

 

 

 


Scope
FortiOS 4.0MR2 and above

 

 

 

 

 


Diagram

 

 

 

 

 


Expectations, Requirements
Allow www.example1.com and block www.example2.com

 

 

 

 

 


Configuration
Web Based Manager (GUI) configuration example to allow www.example1.com and block www.example2.com

Step 1 : Goto UTM > Web Filter > URL Filter > Create New > (any name) > OK

Create New >
URL > .*example2\.com.
Type > Regex
Action > Block
Enable > Check
Click Ok

Create New >
URL > .*example1\.com
Type > Regex
Action > Allow
Enable > Check
Click Ok

Step 2 : Create a Web Profile

From  UTM > Web Filter > Profile > Create New > Name
Enable HTTP and/or HTTPs Web URL Filter, and in the option field chose the URL list created above. If required, enable the Logging option to log the browsed sites.

Step 3 : After having created the Web Profile, create the Firewall Policy and select the "Enable Web Filter" option under UTM, choosing the Web Profile that was created earlier.

 

 

 

 

 


Verification

 

 

 

 

 


Troubleshooting

 

 

 

 

 

 

 

 

 

Contributors