Description | This article describes how to configure web rating override in FortiPoxy. |
Scope | FortiProxy. |
Solution |
- In this scenario, overriding the Gambling category to the Business category is wanted. - casino.com will be used.
Categories involved in this test are the ff: - Cat 49 – Business. - Cat 11 – Gambling.
Here is the web rating override on our configuration.
# config webfilter ftgd-local-rating (ftgd-local-rating) # edit casino.com (casino.com) # show
Make sure the web filter profile is configured to set the category action monitor to override the specific website.
# config webfilter profile
(default) # config ftgd-wf (ftgd-wf) # config filter (filters) # edit 49 (49) # show (49) # get
Here is the Policy configuration:
Troubleshooting:
# diag wad debug enable all # ddiag wad debug enable level verbose # ddiag debug enable
- Here is the WAD DEBUG output accessed casino.com:
[I][p:1530][s:1769130815][r:145] wad_url_choose_cate :2142 cate=49 (local) url-cates=[49,]; url =[49, # 11,],ip=[ # 0,]; conf webfilter 'default':[96,98,99,64,65,66,67,83,86,88,90,91,49,57,59,61,62,63,0,1, 2,3,4]
- Here is the WEBFILTER DEBUG (Log and Report – Web Filter):
date=2023-03-19 time=22:11:52 eventtime=1679289112284470086 tz="-0700" logid="0317013312" type="utm" subtype="webfilter" eventtype="ftgd_allow" level="notice" vd="root" policyid=1 poluuid="fc83437e-c6da-51ed-4460-e3726a4f37d4" policytype="policy" sessionid=1769130816 srcip=192.168.10.100 srcport=49373 srccountry="Reserved" srcintf="port2" srcintfrole="undefined" dstip=45.60.35.168 dstport=443 dstcountry="United States" dstintf="port1" dstintfrole="undefined" proto=6 service="HTTPS" hostname="www.casino.com" profile="default" action="passthrough" reqtype="direct" url="https://www.casino.com/" sentbyte=220 rcvdbyte=0 direction="outgoing" msg="URL belongs to an allowed category in policy" method="domain" cat=49 catdesc="Business" |