You can lookup which Web Category a website falls under using the FortiGuard Web Filter tool. In the example, I lookup: youtube.com and it's under the Category: Streaming Media and Download.
To configure a Static URL Filter, go to Security Profiles > Web Filter > Create New.
Notice there are system default profiles created.
Type a Name: LAB_URL_FILTER > enable URL filter (toggle) > click Create New.
Type URL: *.facebook.com > select Type: Wildcard > select Action: Block > click OK.
Create Static URL Filter for cisco.com and youtube.com > click OK.
The next step is to apply the Web Filter Profile in a Firewall Policy. Go to Policy & Object > Firewall Policy > select FG_LAN_INTERNET > click Edit (or just double-click).
Go under Security Profiles.
Under Security Profiles > enable Web Filter (toggle) > select LAB_URL_FILTER > click OK.
I tried to access the websites from 172.16.1.100 (Windows 7 VM) but got a Web Page Blocked error.
To view the FortiGate Web Filter logs, go to Log & Report > Web Filter.
Select a log > click Details.
Notice the Action: blocked and Web Filter Profile Name: LAB_URL_FILTER were applied to the HTTP traffic.
No comments:
Post a Comment