Multi-WAN with opnSense

opnSense make it pretty easy to support and manage multiple Internet Service Providers (ISP), also called multi-wan.

The basic idea is that you have two (or moreā€¦) upstream connections to the internet, via different providers. Each one is connected to your opnSense using a specific dedicated interface, ethernet or USB/Ethernet.

I will assume the following:

opnSense lets you configure your interfaces both for failover and load balancing. I will show you how to set them up for failover.

Failover

You will use your primary ISP (faster, better?) as usual, but when it goes down, the secondary ISP (slower maybe?) will kick-in and replace it until it comes back up. This is all automatically managed by opnSense, all you need to do is:

The complete process is described pretty well here and i will not get into details.

A few notes, which might save you time:

Also, something which proved useful to me, was to configure Unbound DNS forwarder using public DNS records which are not linked to a specific ISP, like the google or cloudflare or even AdGuard DNS servers.