Skip to main content
ssteo
Staff
Staff
Aug 26, 2022 8:56 AM UTC

Technical Tip: Rename an IPsec tunnel

Description This article describes how to rename an IPsec tunnel.
Scope FortiGate, FortiOS v7.4.0 and under.
Solution

In FortiGate versions before v7.4.2, IPsec tunnels could not be renamed after creation.

 

ssteo_0-1661502574482.png

 

It is necessary to delete the tunnel and recreate it with the correct name. After v7.4.2, it is possible to rename the IPsec tunnel from both the GUI and the CLI.

 

From the GUI:

 

renameGUI.PNG

 

After renaming the IPsec tunnel in the GUI, debug commands in the CLI will update the system interface as below:

 

debugcli.PNG

 

Rename from CLI: 

 

config vpn ipsec phase1-interface

    rename <IPSEC name> to <IPSEC name> 

 

CLI.PNG

 

Related article:

Technical Tip: How to change the VPN profile name without clearing/deleting the reference

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024