I have an ASL 5.2 with a VPN connections to another ASL and a roadwarrior connection for client connections. Several times during the day the VPN connection to the other ASL shows trapped. I was thinking if I could automatically reset the connection that might solve my problem. I saw a script in an earlier post about doing an automatic reboot of an ASL. Can anyone help to adapt this to just resetting a specific connection? Here is the script from the earlier post:
To execute the script at startup just insert the following line in /etc/rc.d/rc.astaro.
(sleep 120; while ping -i 2 -c 5 -w 10 12.12.12.12; do sleep 2; done; reboot) &> /dev/null &
Would appreciate any help.
This thread was automatically locked due to age.