Skip to main content
rsagar_FTNT
Staff
Staff
June 20, 2016

Technical Tip: How to allow one website while blocking all others

  • June 20, 2016
  • 0 replies
  • 22938 views

Description

 
This article provides an example of how to block all websites, whilst allowing only one. 
 
Scope
 
FortiGate.


Solution

 
  1. Go to Security Profile -> Web filter.

  2. Navigate to Security Profile -> Web Filter and select the profile that is to be applied on the firewall policy that is used for web traffic.

  3. Create two static URL filters, as displayed in the following screenshot:

 

KB1.png

 

 

This configuration will block everything except any URLs which contain fortinet.com.

  1. This new web filter profile should be added into the firewall policy for web traffic.

 

KB2.png

 

This configuration can be expanded by adding more URLs in the exempt list, such that everything will be blocked except the URLs that are exempted.