Fortigate and DuckDuckGo

Log DuckDuckGo Search Phrases

By default, FortiGate doesn’t log the Search Phrases and it is not forcing safe search on DuckDuckGo search engine.

Below is an example of configuration that needs to be manually added to the FortiGate configuration via CLI.

config webfilter search-engine
edit "duckduckgo"
set hostname "duckduckgo\\..*"
set url "\\/?\\?" # press CTRL+V and then ?
set query "q="
set safesearch url
set safesearch-str "&kp=1"