Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Georges_Orwell
New Contributor

[FG-401 E- FortiOS 6.4.2] RENAME IPSEC VPN

Hello

 

I have IPsec Tunnel  wrong named.

unfortunately there are more than 300 policy that matching this IPsec Tunnel (and Interface)

Its really disturbing daily.

Is there a way to change it from command line or GUI whithout rebuild all policy?

I'm on HA cluster FG-401-E that run 3 VDOM FortiOS 6.4.2

Thank you for your help

1 Solution
Viknesh_Muniyandi
New Contributor III

It can not be changed. 

 

Either you need to rebuild the tunnel 

OR 

You need to backup the config >> Manually change the name of that tunnel (make sure you replace it with the new name and it must be changed wherever you referenced the old tunnel name in the config) >> Push the config back to Firewall. 

(It usually requires firewall to reboot) 

 

Regards,

Viknesh

View solution in original post

3 REPLIES 3
Viknesh_Muniyandi
New Contributor III

It can not be changed. 

 

Either you need to rebuild the tunnel 

OR 

You need to backup the config >> Manually change the name of that tunnel (make sure you replace it with the new name and it must be changed wherever you referenced the old tunnel name in the config) >> Push the config back to Firewall. 

(It usually requires firewall to reboot) 

 

Regards,

Viknesh

Georges_Orwell

Thank you Viknesh

sw2090
Honored Contributor

yep IPSec renaming is a pain in the *censored* :\

 

You can only easily rename an ipsec if you happen to have that FGT in a FortiManager. FMG can do that for you.

If you don't have a FMG you can only do they way Viknesh wrote or old school which would be deleting all references, delte the ipsec and recreate everything which you don't want to do with that many references of course...

-- 

"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams

-- "It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
Labels
Top Kudoed Authors