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.
nnair
Staff
Staff
Article Id 201957
Description This article describes how to disable policy name requirements.
Scope FortiGate.
Solution

When a user tries to enable policy, the unit will not allow to create one by default, which shall show the below error.

Rathan_FTNT_0-1662015227827.png


While by default the requirement of having a unique name for each policy mandate, it can be enabled or disabled.

If disabling the requirement is a one-time thing, doing it in the CLI is more straightforward.

 

This setting is VDOM-based so if multiple VDOMs are running, it will be necessary to enter the correct VDOM before entering the CLI commands or turning the feature on or off in the GUI.

 

From GUI.


To edit the requirement from GUI, 

 

Once it has been enabled, the requirement for named policies can be relaxed by going to System -> Feature Visibility.

Allow Unnamed Policies can be found under Additional Features. Here, it is possible to toggle the requirement on and off.

 

policy.PNG

 

From CLI.


To change the requirement in the CLI, use the following syntax:

 

config system settings

    set gui-allow-unnamed-policy [enable|disable]

end


Results:

A policy without any name can be created as below:

Rathan_FTNT_3-1662015545277.png