I've just started to use the PPTP client module to tunnel my remotely hosted VPS back to my home network.
After two days, the VPN died and didn't restart. I use the System/Service Status module to restart failed services. Has anyone used it to restart a failed VPN (using something like Remote PING)? What command does WebMin use to bring the VPN up? Even after I killed the PPP process that was running, I believe a lockfile was left behind (WebMin still had a Disconnect button, but not a Connect button in VPN).
To make a long story short, I want to write a script that cleans up WebMin's VPN connection, and reconnects.
Has anyone done this?
Did you ever have any luck with this? Got a similar need here to make Webmin's VPN connections reconnect after a disconnect.