Technical Tip: Allow certain websites using static URL filter and block all other websites without using FortiGuard category-based filter
| Description | This article describes how to allow certain websites by using a static URL filter list whilst blocking all other websites using a static URL filter list, all without using a FortiGuard category-based filter. |
| Scope | FortiGate. |
| Solution | Steps to create a URL filter list:
In the following example, the domains www.msn.com and https://ping.eu have been allowed, but all other URLs have been blocked, all by using a static URL filter list without using a FortiGuard category-based filter. This web filter profile has been configured in the policy, and all of the traffic will be blocked, except for access to https://www.msn.com and https://ping.eu.
CLI Reference:
config webfilter urlfilter
Additionally, check the forward traffic logs or web filter security event logs to verify whether all of the websites are blocked except for the allowed websites.
Related articles: Technical Tip: Web filtering order of execution Technical Tip: Use static URL filtering without FortiGuard Web Filter license |




