Description | This article describes how to configure web filters and URL filter via CLI. |
Scope | FortiGate. |
Solution |
To create a URL filter via CLI for Facebook.
Forti # config webfilter urlfilter
Now, it is possible to call that URL filter a web filter profile.
Forti # config webfilter profile
To apply the Web Filter profile to a firewall policy:
config firewall policy (policy) # edit 1 (1) #set webfilter-profile "webfilter" (1) # end
To check if the configuration was applied
config firewall policy (policy) # edit 1 (1) # show
config firewall policy
Related articles: Technical Tip: Web filter profiles in NGFW policy mode Technical Tip: FortiGate configure web filter content filtering |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.