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.
Kush_Patel
Staff
Staff
Article Id 399331
Description This article provides a step-by-step guide on how to block websites containing Russian-language content using FortiGate.
Scope FortiGate v7.0 and above.
Solution

To block access to websites containing Russian-language content on FortiGate, follow these configuration steps:

 

  1. Configure a web filter profile in proxy-based mode and enable the Content Filter option, as shown below:

 

wfp.PNG

 

  1. Create a Content Filter for Cyrillic Characters Using the regular expression [ЁёА-я], which will match any Russian characters.

 

cf.PNG

 

CLI configuration :

 

config webfilter content
    edit 1
        set name "Auto-webfilter-content_4a6h8fact"
            config entries
                edit "[ЁёА-я]"
                    set pattern-type regexp
                    set status enable
                    set lang cyrillic
                next
            end
end

 

  1. Create a firewall policy in proxy-based mode and apply the web filter profile to the policy.

 

fppb.PNG

 

  1. Once the configuration is in place, attempting to access any webpage containing Russian text will result in the site being blocked.

 

bw.PNG

 

 

Note: To ensure optimal performance, it is recommended to use proxy-based mode for the content filter functionality.