WireGuard watchdog with fail-over

For those who are interested, I made a simple script to monitor a WireGuard tunnel and start the next WireGuard tunnel in case of failure.

Although I do not often have failing tunnels it occasionally happens when a server is over-crowded or down for maintenance.

Maybe someone finds it useful.
Have fun with it and let me know if you miss anything :slight_smile:

See: https://github.com/egc112/OpenWRT-egc-add-on/tree/main/wireguard-watchdog

1 Like