Skip to main content
forti_ranc
New Member
June 22, 2022
Question

Prevent duplicate address objects on FortiOS

  • June 22, 2022
  • 3 replies
  • 1941 views

Anyone know of a way to PREVENT duplicate address objects from being created on FortiOS. 

Scenario: On a FGT, you create an address with the below:

config firewall address

edit h_1.2.3.4

set subnet 1.2.3.4 255.255.255.255

next

end

 

What i am looking for is a way to prevent another object from being created with the same subnet value, even if it has a different name. Lets say it warns you that an entry already exists.

 

Thanks.

3 replies

seshuganesh
Staff
Staff
June 22, 2022

Hi Team,

 

As far as i know in fortios we do not have option to prevent two names with same value.

Lets wait for peers to confirm

forti_ranc
New Member
June 27, 2022

Thanks. Maybe something to log a feature request.

kcheng
Staff & Editor
Staff & Editor
June 28, 2022

Hi @forti_ranc 

 

FortiOS does not have the capability of the respective. However, if you have FortiManager in place, you can leverage on FortiManager to find duplicate object and manage the respective accordingly:

https://docs.fortinet.com/document/fortimanager/7.2.0/administration-guide/304425/policy-objects

https://docs.fortinet.com/document/fortimanager/7.2.0/administration-guide/261636/find-and-merge-duplicate-objects