Technical Tip: How to set up warning prompts for each FortiGate Web Filter Categories
| Description | This article describes how users will receive warning prompts when accessing websites for each web filter category when 'set warning-prompt per-domain' is enabled under a specific web filter category. |
| Scope | FortiGate v7.0 and above. |
| Solution | FortiGate offers a variety of web filter categories. For a comprehensive list of these categories and their corresponding IDs, refer to FortiGuard web filter categories - FortiOS 7.6.2 documentation.
Web filters can be configured to present users with a warning prompt when attempting to access websites for each of the categories. To implement this functionality, it is necessary to enable the command 'set warning-prompt per-domain' within the web filter profile for the desired category. Additionally, the inspection mode for the traffic must be set to proxy.
For instance, to configure a warning prompt for users visiting websites categorized under 'Games', follow the steps outlined below:
config webfilter profile edit "Test" config ftgd-wf config filters edit 1 set category 20 <----- Category Number (Games). set action warning <----- Action. set warn-duration 5s <----- Duration for the warning prompt. set warning-prompt per-domain <----- Enable warning prompt per domain. end
Related document: |
