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

Site-to-Site VPN restart automatic

Hello colleagues,

we have problems with 2 of our S-t-S VPNs, is there a way to rebuild them automatically every 24 hours? Thanks for your help, I'm really at a loss right now.

All the best

Sven

1 REPLY 1
sw2090
Honored Contributor

hm

 

maybe one could create some script and have it executed by schedule on the FGT.

 

usefull commands might be:

 

exec ypn ipsec tunnel up|down <p2 name>  - take a tunnel up/down

 

diag vpn ike gateway clear name <phase1 name> - will kill the named p1

 

if p1 autonegotiating is enabled (which it is by default) the FGT will re-establish the tunnel automatically afterwards.

 

 

-- 

"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