Technical Tip: How to allow one website while blocking all others
Description
This article provides an example of how to block all websites, whilst allowing only one.
Scope
FortiGate.
Solution
- Go to Security Profile -> Web filter.
- 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.
- Create two static URL filters, as displayed in the following screenshot:
This configuration will block everything except any URLs which contain fortinet.com.
- This new web filter profile should be added into the firewall policy for web traffic.
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.