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.
nathan_h
Staff & Editor
Staff & Editor
Article Id 379617
Description

 

This article describes how to fix if the web rating override on a Web Filter profile is broken with the configured action after an upgrade to v7.2.11, v7.4.6, v7.4.7, v7.6.1, and v7.6.2.

 

Scope

 

FortiGate v7.2.11, v7.4.6, v7.4.7, v7.6.1, v7.6.2 with flow-based web filter.

 

Solution

 

Custom Category:

 

2025-03-03 08 53 33.png

 

Web Filter Profile:

 

2025-03-03 08 50 54.png

 

2025-03-03 08 55 34.png

Firewall Policy:

 

2025-03-03 08 52 32.png

 

When accessing the website (doh.dns.apple.com), the FortiGuard Block Page is encountered. The website category should be 'Allowed_Custom'.

 

2025-03-03 08 56 12.png

 

This issue only affects firewall policies with flow-based inspection.

 

Workaround:

Configure a dummy Custom Category and Web Rating Override/Local Rating. Copy and paste the command below into the CLI.

It will still work after it is deleted. Alternatively, delete and re-add one of the existing web rating categories and ratings. If the FortiGate was rebooted, apply the workaround again.

 

config webfilter ftgd-local-cat
    edit "dummy-cat"
        set id 190
    next
end


config webfilter ftgd-local-rating
    edit "dummy.local"
        set rating 190
    next
end

 

config webfilter ftgd-local-rating
delete "dummy.local"
end

 

config webfilter ftgd-local-cat
delete "dummy-cat"
end

 

The website is accessible:

 

2025-03-03 09 01 08.png

This issue is tracked by internal issue ID# 1118132. The issue is resolved in v7.6.3 and v7.4.8, and scheduled for resolution in v7.2.12. See v7.4.8 FortiOS Release Notes.