Evening mates
How to make a Script to check my vpn connection and if its down to disable the interface and re-enable it again??
Thanks for your time.
Evening mates
How to make a Script to check my vpn connection and if its down to disable the interface and re-enable it again??
Thanks for your time.
Configure a Netwatch with your VPN gateway as the monitored target.
In the down-script, do
/interface disable vpn1
:delay 1s
/interface enable vpn1
(replacing “vpn1” with the actual VPN interface name of course)
Thanks mate for your time, it works great.