Automatic reconnecting for OpenVPN client
The Connect OpenVPN is a script that automatically reconnects your OpenVPN client to the server. The script monitors the network, and if the network connection drops due to issues such as a power outage, the script will automatically shut down the old VPN client and automatically reconnect when the network is stable again.
Configure your settings in config.ini and then launch your script with Python:
python connect-openvpn.py