OPNsense Forum

English Forums => General Discussion => Topic started by: t84a on May 29, 2025, 07:44:28 PM

Title: WAN Failover
Post by: t84a on May 29, 2025, 07:44:28 PM
Greeting again.  I'm trying to get this to work. I followed the instructions here: https://docs.opnsense.org/manual/how-tos/multiwan.html

I have 2 WANs: Mediacom and TMobile.  I want Mediacom to be the default.

Everything seemed to go smoothly until I set the Gateway in LAN1 to WANGROUP (the name of my Gateway Group) in the Pass All firewall rule.  When I apply changes, I lose internet.  If I change it back to "default", internet is restored.  Right now, I'm only working on LAN1 (192.168.2.1/24).

I can post screenshots for anything that you think may help.  Thanks

Title: Re: WAN Failover
Post by: t84a on May 30, 2025, 04:46:47 PM
I posted this question on another board and was told not to use a group so I'm giving it a try.
Title: Re: WAN Failover
Post by: t84a on June 01, 2025, 03:40:53 PM
For anyone playing with this, make sure you uncheck Sticky Connections in Firewall -> Advanced if your backup WAN is metered.
Title: Re: WAN Failover
Post by: EricPerl on June 01, 2025, 08:48:14 PM
My understanding is that 'sticky connections' is for load-balancing use cases (so all connections to a web server are established via 1 gateway).
This is not your case.
There's also an entire section on metered ISPs in the guide: https://docs.opnsense.org/manual/how-tos/multiwan.html#failover-and-failback-states (https://docs.opnsense.org/manual/how-tos/multiwan.html#failover-and-failback-states)