FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
hazim
Staff
Staff
Article Id 256683
Description This article describes how to enable Safe Search on FortiGate.
Scope FortiGate version 6.4, 7.0, and 7.2 above.
Solution 

 

Note that this feature is only available and works with these two requirements:

  1. Use proxy mode inspection for web filtering profile and policy.
  2. Enable QUIC protocol block in Application Control.

 

Go to Security Profiles -> Web Filter -> Feature set Proxy-based.

 
 

Enforce 'Safe Search' on Google, Yahoo!, Bing, Yandex.

 safe search.png

 

From the CLI:

 

config webfilter profile
    edit "safe-search"
        config web
            set safe-search url header
        end
    next
end

 

In the policy, it is necessary to turn on both the Web filter and Application control profile with the inspection mode set to proxy-based.

 

policy.png

 

From the CLI:

 

config firewall policy
    edit 0
        set name "v96"
        set srcintf "port4"
        set dstintf "port1"
        set action accept
        set srcaddr "all"
        set dstaddr "all"
        set schedule "always"
        set service "ALL"
        set utm-status enable
        set inspection-mode proxy
        set ssl-ssh-profile "deep-inspection"
        set webfilter-profile "safe-search"
        set application-list "safe-search"
        set logtraffic all
        set nat enable
    next
end

 

Note:

Deep inspection is required for this to work. Make sure search engines are not exempted from SSL Inspection. Examples of search engine URLs: