What's new

Wireguard Wireguard Client VPN Failover Script

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

glitterclub

New Around Here
Hello,

I have created a VPN failover script for wireguard VPN client, currently the script works only for one client (wg1) where you can failover to multiple clients if a server goes down. This is my first attempt with shell scripting so don't mind if the script feels silly.

Link: gitterclub/AsusMerlin-WireGuard-Failover: Script to perform failover for wireguard client VPN (github.com)


I wrote this script by taking inspiration from this github page https://github.com/MartineauUK/VPN-Failover, which I currently use for OpenVPN client :)
 
Hello,

I have created a VPN failover script for wireguard VPN client, currently the script works only for one client (wg1) where you can failover to multiple clients if a server goes down. This is my first attempt with shell scripting so don't mind if the script feels silly.

Link: gitterclub/AsusMerlin-WireGuard-Failover: Script to perform failover for wireguard client VPN (github.com)


I wrote this script by taking inspiration from this github page https://github.com/MartineauUK/VPN-Failover, which I currently use for OpenVPN client :)
Thanks @glitterclub! I'll be adding this to the main software catalog thread! ;)
 
Brilliant! Congrats @glitterclub
This should be implemented by default in the WireGuard settings, don't you think?
 
Does this failover works just disabling wireguard client so the connection just goes through WAN? Or it always iterates between wireguard client configs?
Thank you!
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top