Description | This article helps to bring the IPSEC tunnel up if the Ike debug shows the error 'duplicate name detected on name insert. |
Scope | FortiGate. |
Solution |
During the IPSEC configuration on FortiGate sometimes the tunnel remains down even if the configuration is correct. The traffic flow on UDP port 500 can be seen bidirectionally still the phase-1 remains down.
This could be due to a string pattern match issue with another tunnel name.
The first step is to flush the Ike gateway on FortiGate, if the tunnel phase-1 stays down run the Ike debug:
ike 7:0d9c5d80d68930f9/0000000000000000:7721771: VID FORTIGATE 8299031757A36082C6A621DE00000000
The above debug shows the IKE session was flushed due to name string overlap. The only solution to this case is to delete the tunnel configuration and recreate it. After creating the new tunnel it should be up on both phases. Make sure the UDP traffic (on port 500) can be seen in both inbound and outbound direction.
Related article: Troubleshooting Tip: IPsec VPNs tunnels |