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.
Durga_Ashwath
Article Id 343468
Description This article describes how to delete an IPsec tunnel that was created.
Scope FortiGate.
Solution

Follow the steps below to delete the IPsec tunnel:

 

  1. Log in to the FortiGate web GUI.
  2. Go to VPN -> IPsec Tunnels.
  3. Locate the IPsec tunnel to delete.
  4. Select the reference icon of the IPsec tunnel to remove.

reference.png
  1. Reference dialog will open. Select each reference, then delete it accordingly.

delete the reference in the list.png

 

  1. Delete the reference by selecting it.


delete by selecting the reference.png

  1. After deleting all of the references, go to the IPsec tunnel and select 'delete' to delete it from the FortiGate configuration.


delete the ipsec tunnel successfully.png

 

Note:

In the case of IPsec tunnel reference to the Sniffer object, see the screenshot below:

 

sniffer.jpg

 

However, when navigating to sniffer under GUI, there is no related packet sniffer of Tunnel interface associated.

The attached screenshot above indicates the sniffer ID of IPsec related is '2', using the below command show/delete the sniffer:

 

config firewall sniffer

show 

delete 2 

end 

 

After the above change, the reference object for the IPsec tunnel should be removed and can be deleted from this related KB article: Technical Tip: How to delete sniffer from CLI