Fixed IP Failover

I’ve been working on a fail over system for my hosted services. Getting this working means that I am no longer locked into my internet provider for a static public IP. Instead the IP of the VPS is used.

In this case I have setup OPNsense on a VPS hosted by Binary Lane (although any VPS with an external IP would work). My OPNsense box at home connects to the VPS via OpenVPN (P2P). Then a bunch of routing and firewall rules take care of the rest.

A setup of gateways with priorities covers off on the dual WAN on the home router side.