Wireguard Failover
-
I've read through some other posts about this, but they either didn't say whether the proposed solution worked or they were very convoluted and difficult to understand. Here is our scenario: We have 6 locations--Las Cruces (LC), Sunland Park (SP), El Paso (EP), Abilene (ABI), Fort Worth (FW), and Plano (PL). LC and ABI have software that is accessed by the other 4 locations via VPN. There are WireGuard VPNs set up between LC and those 4 locations (SP, EP, FW, PL), and ABI and those 4 locations (SP, EP, FW, PL). There is also a WireGuard VPN connection between LC and ABI. LC and ABI have 2 internet connections. SP, EP, FW, and PL each have one internet connection.
If the primary internet connection goes down at either LC or ABI and failover occurs to the secondary internet connection, is there a way to set up the WireGuard VPN connections so that they also failover without purchasing some 3rd party application?
Thanks.
-
@jlinesabi Yes.
Surprised nobody commented earlier truthfully.
I have two remote sites both with failover set up. The sites are set up as dynamic in my primary "hub" site. If one of their connections go down they simply hunt for the primary on the other connection which it gladly accepts.
If the primary goes off the air and reverts to the cellular backup (behind CGNAT) Ive noticed that in the past that it will go hunt down the active connections and reconnect. What I do not know is if CGNAT on both sides will do such a thing.. I do not believe that would work but truthfully have not tried it.