Networking

Dual-WAN Failover With OPNsense: Starlink or 5G as Your Backup

A second internet connection is cheap; making it take over cleanly is the part nobody demos. OPNsense has the machinery built in — this guide covers the tiers, the monitoring, the backup menu at 2026 prices, and the one limitation (CGNAT) that shapes the whole design.

Published Nov 25, 2026

The short answer

OPNsense's gateway groups make failover a configuration, not a project: put the primary WAN in tier 1 and the backup in tier 2, and dpinger's monitoring flips the house when the primary stops answering. The backup itself costs less than the outage it prevents — T-Mobile's Home Internet Backup plan is $20/month, and Starlink's $10/month Standby Mode keeps a dish alive at 500 Kbps as a keep-alive — but both arrive behind CGNAT, so the failover internet is for using, not for hosting: inbound services and port forwards do not survive the flip. Design for a house that keeps working — DNS, browsing, work calls, the alarm panel phoning home — not for a homelab that keeps publishing.

How OPNsense failover works

A gateway group holds your WANs in tiers. Same tier means load balancing; different tiers mean priority — traffic prefers the lowest tier that is alive. "Alive" is dpinger's verdict: it pings a monitor IP through each gateway (use a stable anycast address per gateway, not the ISP's own first hop), and the group's member-down trigger decides how much loss or latency declares a death. Two settings from the official multi-WAN documentation decide whether failover feels clean: per-gateway DNS, so name resolution follows the surviving path, and the Failover States behavior — killing states on failover makes sessions reset instantly onto the new WAN (a beat of disruption, then clean), while preserving states lets dying connections linger on the dead path. For a household, kill the states; a one-time hiccup beats a minute of half-alive.

The backup menu, at current prices

BackupPrice (Nov 2026)Reality
T-Mobile Home Internet Backup$20/moPurpose-built for this job; CGNAT; speeds follow your local 5G
T-Mobile Home Internet (full)$50–$70/mo by tierA second primary, not a backup — for households that will actually use it
Starlink Residentialfrom $55/mo + $349 kit (address-dependent)Weather-resilient, CGNAT, the rural answer
Starlink Standby Mode$10/mo500 Kbps keep-alive — messaging and telemetry, not movie night

Starlink and Verizon home-internet pricing varies by address and has conflicted across sources during this research — the table gives starting points, and your address gets the final say. The CGNAT row deserves emphasis because it shapes the whole design: behind carrier-grade NAT there is no public IPv4 to fail to, so anything inbound — your VPN endpoint, your game server, your camera NVR's remote view — needs a plan B of its own (Tailscale and Cloudflare Tunnel survive CGNAT because they dial out).

What to test before the outage does

Failover you have never tested is a hope with a config file. The test is twenty minutes; the outage will not schedule itself around your readiness.

Official documentation and references

Frequently asked questions

How does OPNsense decide the primary WAN is down?

dpinger continuously pings a monitor IP through each gateway; loss and latency thresholds mark the gateway down, and the gateway group's tiers route traffic to the next alive tier. Use a stable anycast monitor address per gateway — monitoring the ISP's first hop only proves the street works, not the internet.

What is the cheapest real backup internet?

T-Mobile's Home Internet Backup plan at $20/month is purpose-built for failover. Starlink's Standby Mode is $10/month but delivers 500 Kbps — a keep-alive for messaging and telemetry, not a working connection. Full Starlink starts around $55/month plus the $349 kit, priced by address.

What breaks during failover?

Inbound services. Both 5G and Starlink sit behind CGNAT, so port forwards and public-IP hosting do not survive the flip. Outbound life — browsing, calls, DNS, smart-home cloud links — continues. Services that dial out (Tailscale, Cloudflare Tunnel) survive because they never needed the public IP.

Should failover kill existing connections?

For a household, yes: OPNsense's failover state-killing makes sessions reset immediately onto the surviving WAN. The alternative preserves half-dead connections on the failed path. One clean hiccup beats a minute of limbo.

Related guides