Bash script that monitors PPTP and OpenVPN client connections and automatically re-establishes the VPN link when it drops. Designed to run via cron every 15 minutes.
A minimal but reliable shell script for keeping VPN connections alive on Linux servers and desktops. Supports both PPTP and OpenVPN protocols.
Schedule via cron every 15 minutes: