This is an automated archive.
The original was posted on /r/wireguard by /u/Tomosaki112 on 2024-01-16 21:36:43+00:00.
Hello,
I am using a normal wireguard setup to access my local network, as well as having other peers which work as subnet routers for other networks. However my main "hub" peer is on my local network.
Now I am wondering how to make my setup redundant if my hub peer goes down. Probably the most logical way is using VIPs and keepalived and make the exact same copy of wireguard on another host. I also know I can implement a load balancer, but this just presents a different single point of failure to me. Besides that, I like to keep things interesting and have come across implementing OSPF over wireguard (such as this or this or this).
If I understand this correctly, I can setup ospf between wireguard peers and if two are on the same LAN, OSPF would choose the one with the best route to the local network, which would also mean that if one goes down the traffic is routed through another peer. Do I understand this correctly?
Also how would then android, ios, windows wireguard peers behave? Any feedback would be appreciated.