Skip to main content
ssteo
Staff
Staff
August 26, 2022

Technical Tip: Rename an IPsec tunnel

  • August 26, 2022
  • 0 replies
  • 8561 views
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