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.
praju
Staff
Staff
Article Id 190290

Description

 
This article describes an example using the site wapka-file.com.
Websites often use associated sub-domains. This article shows how a web filter/URL filter wildcard expression can be used to block all related subdomains.

 

Scope

 

FortiGate.


Solution


FortiOS v7.2 and FortiOS 7.4


Using the GUI, go to Security profiles -> Web filter. Select the appropriate web filter profile from the top right-corner drop-down menu. Select the box 'Enable URL Filter' under Static URL Filter.

Select 'Create new'. A pop-up opens up. Type URL as *wapka-file*. Select type as 'Wildcard', Action as 'Block', and Status as 'Enable'. Select 'OK', then select Apply at the bottom of the profile. Make sure that the same web filter is applied in the policy.

 

wapka.PNG

The *wapka-file* will block all the domain names that contain the name wapka-file irrespective of the content before and after the name.