Description |
When the FortiGate is in a state where there is a tunnel interface configured but the VPN itself is already deleted, the tunnel interface cannot be deleted directly.
This article describes how to delete it.
This interface also cannot be directly deleted from the CLI:
show system interface ipsec-tunnel config system interface edit "ipsec-tunnel" set vdom "root" set type tunnel set snmp-index 27 set interface "wan1" next end config system interface
A tunnel interface cannot be deleted directly. end |
Scope | FortiGate. |
Solution |
The workaround is to create an IPSec interface and then delete this VPN.
config vpn ipsec phase1-interface edit ipsec-tunnel set remote-gw 192.0.2.1 set interface wan1 set psksecret XXXXXXXX end
delete ipsec-tunnel end
entry is not found in table
Note: The VPN interface must have precisely the same name as the interface that needs to be removed.
If the issue still persists, try the following workaround:
Related article: Technical Tip: Unable to delete VPN tunnel even if policy/routes are deleted. |
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 2024 Fortinet, Inc. All Rights Reserved.