Description
This article provides the solution how to add a VIP or Address object entry without the error 'a duplicate entry already exists or found'.
Solution
1) A VIP name test has been created where 1.1.1.1 external IP mapped to WAN1 and mapped to internal IP 2.2.2.2 where UDP port-forwarding 10000 has been configured to map port 10000.
Solution for Address object
If user is tryg to create an address object with name dropboxcaptch.com and got the error 'duplicate entry found' do the following steps to fix the issue!
From the CLI search the object name with the command "show firewall address | grep dropboxcaptcha -f" to you will get this object like that:
FW01 # show firewall address | grep dropboxcaptcha -f
# config firewall address
edit "wildcard.dropboxcaptcha.com" <---
set uuid 4fc11990-cdb0-51ed-ac28-b725b60ed5c3
set type fqdn
set fqdn "*dropboxcaptcha.com" <---
next
Now delete thís entry (make these objects not referenced anywhere, otherwise it will necessary to remove them from the referenced configs) and recreate the captcha object.
# Config firewall address
delete wildcard.dropboxcaptcha.com
edit dropboxcaptcha.com
set type fqdn
set fqdn "*dropboxcaptcha.com"
next
end
After recreation we can use the Object in our policies like below
# config firewall policy
edit <policy id>
set proxy transparent-web
set srcintf "your interface"
set dstintf "your interface"
set srcaddr "your interface"
set dstaddr "dropboxcaptcha.com"<----- The CLI created address object.
set service "ALL"
set action accept
set schedule "always"
next
end
Note:
in some cases newly created address object is still not showing in GUI and for that we need to restart the Firewall or if it is a cluster we need to do a cluster failover!
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.