Skip to main content
L14507
New Member
October 11, 2018
Question

How can I delete vpn tunnel I created?

  • October 11, 2018
  • 9 replies
  • 121315 views

I am trying to delete vpn tunnel I created for testing purpose. But I do not see the option to delete.

Any advice will be greatly appreciated.

9 replies

tanr
New Member
October 11, 2018

In GUI on right hand side of tunnel you should see a number showing how many references to the tunnel or associated objects there are.  Clicking the number should list out the references, which you'll need to remove before you can delete the tunnel.

L14507
L14507Author
New Member
October 11, 2018

I understood that I need to delete those references. But how? I went to edit the tunnel page and tried to delete those settings but they won't go away. :(

tanr
New Member
October 12, 2018

You need to delete the *other* objects that are making the references. For example, the security policies and static routes that refer to the vpn.

Durga_Ashwath
Staff
Staff
September 14, 2023

Hi,

When the FortiGate is in the state, where there is a tunnel interface configured, but the VPN itself is already deleted, the tunnel interface cannot be deleted directly.
For this you have to create an IPsec interface and then delete this VPN.

Please do follow the below articles for the same:
> https://community.fortinet.com/t5/FortiGate/Technical-Tip-Unable-to-delete-a-tunnel-interface/ta-p/224717
> https://community.fortinet.com/t5/FortiGate/Technical-Tip-Unable-to-delete-VPN-tunnel-even-if-policy-routes/ta-p/221494

Regards,
Durga A

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!