Created on
‎05-22-2023
06:25 AM
Edited on
‎02-19-2025
06:38 AM
By
Stephen_G
Description | This article describes the procedures to create a web filter to block words from being searched via Google. |
Scope | FortiOS. |
Solution |
In this example, all searches on Google related to the word 'game' are blocked. Type the URL following the example below, it is possible to block any word search:
CLI Reference: config webfilter urlfilter
edit 2
set name "Auto-webfilter-urlfilter_yd0pnzusw"
config entries
edit 1
set url "*www.google.com/search*game*"
set type wildcard
set action block
next
end
next
end
config webfilter profile
edit "Test filter"
config web
set urlfilter-table 2
end
next
end
CLI Reference:
config firewall policy
It is possible to block any word on any search engine. Just make sure to follow the template above and follow all the steps. |