Technical Tip: Allow all website using static url filter without using Fortiguard category based filter
| Description | This article describes how to allow all websites using a static URL filter when the option FortiGuard category-based filter is disabled.
|
| Scope | FortiGate. |
| Solution |
The profile has been configured in policy, and all the traffic will be allowed. To block certain websites, create the URL filter entry above the allow rule.
CLI reference:
config webfilter urlfilter end config webfilter profile
Additionally, check the forward logs or web filter security event to verify if the website is being blocked:
date=2024-10-07 time=19:40:13 eventtime=1728348013086626754 tz="-0500" logid="0315012544" type="utm" subtype="webfilter" eventtype="urlfilter" level="warning" vd="root" urlfilteridx=2 urlfilterlist="Auto-webfilter-urlfilter_7yt7kaqvq" policyid=1 poluuid="68f35182-c282-51ed-aaa2-77125bd2803c" policytype="policy" sessionid=848250 srcip=172.16.254.200 srcport=63908 srccountry="Reserved" srcintf="Test" srcintfrole="lan" srcuuid="xxxxx" dstip=216.109.194.6 dstport=443 dstcountry="United States" dstintf="wan1" dstintfrole="undefined" dstuuid="xxxxx" proto=6 service="HTTPS" hostname="www.123.net" profile="default" action="blocked" reqtype="direct" url="https://www.123.net/" sentbyte=649 rcvdbyte=0 direction="outgoing" urlsource="Local URLfilter Block" msg="URL was blocked because it is in the URL filter list" crscore=30 craction=8 crlevel="high"
The above log indicates the website is getting blocked due to static URL entry 2 (urlfilteridx=2).
Related documents: Technical Tip: Use static URL filtering without FortiGuard Web Filter license |



