Simple python scripts.
/!\ This script needs root priviledge !
specify in config.yaml
configs_folder
to where your folder containing wireguard configurations iswg_interface_name
as an arbitrary interface name for the interfaces that will be "upped"- the rest should be self-explanatory and need no modification
check.py will check if the vpn is working using its dns
if its not it will use start.py to start a random vpn from the list
start.py will only up the vpn if there is internet connection after it has downed wg_interface_name
(if it was up)
Using a cron