Skip to main content
sminywab_FTNT
Staff
Staff
June 7, 2016

Technical Note: How to create local custom override categories in FortiOS

  • June 7, 2016
  • 0 replies
  • 9711 views

Description

 
This article explains how to create local custom override categories in FortiOS.
 
Scope
 
FortiGate.


Solution

 

In FortiO,S a URL or a list of URLs can be added to a custom override category in order to have a block action applied when the default category to which the URL has its action set to allow, monitor, warning, or authenticate. This is also useful when a URL has not yet been rated and the unrated web filter category has been blocked.

For example: In order to block www.cnn.com whilst allowing, monitoring, warning, or authenticating the default web filter category News and Media, one method is to add www.cnn.com to a custom category and set the action of block to that local custom category.

These categories exist in the default base config of FortiOS, they are titled custom1 and custom2.

Run the following commands in the CLI to create a local custom category:
 
config webfilter ftgd-local-cat
    edit "name_of_custom_filter"
end


Related article
:
Technical Tip: How to configure web rating override for specific web sites

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!