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

Script VPN Bring Down

Mates,

 

Anyone knows if there is some script that let me know via email (Email is configured in Fortigate) if the VPN Tunnel is Off? And if there is some script to -reactivate again (Bring Up)?

 

Thanks a lot.

5 REPLIES 5
hubertzw
Contributor III

1) you can check 'config alertemail setting' and then 'IPsec*' 2) to keep the tunel up you can: 'set auto-negotiate enable' under 'config vpn ipsec phase2*'

paulogermano

"2) to keep the tunel up you can: 'set auto-negotiate enable' under 'config vpn ipsec phase2*'"

 

How can I do this?

 

Can you write the CLI command?

 

Thanks!

hubertzw

config vpn ipsec phase2 [TAB/? - not sure what you have here]

 [show or show full to see the settings and if the below one is disabled]

  set auto-negotiate enable

 

paulogermano

When I wrote 'set auto-negotiate enable' give me the command: Unkknow action 0.

 

My appliance is 50E.

hubertzw

Can you show me the section: 'show vpn ipsec phase2'?

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors