Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
multi-wan / default gateway switching
« previous
next »
Print
Pages: [
1
]
Author
Topic: multi-wan / default gateway switching (Read 152 times)
dirtyfreebooter
Newbie
Posts: 49
Karma: 1
multi-wan / default gateway switching
«
on:
October 15, 2024, 04:13:10 pm »
a question or check of my setup. i recently added a backup internet connection.
WAN1: 1 gbps quantum fiber
WAN2: 150 mbps / 20 mbps xfinity/comcast cable
i started out by looking at the opnsense docs and the multi-wan section with gateway groups. but it seems like for my simple setup, "Default gateway switching" and setting the gateway priorities seems to just work without any gateway groups, etc.
is that correct? if so, that is much simpler and awesome!
the only other adjustments i had to make were:
any port forwards, i had to add both WAN interfaces to the forward definitions.
forwarding 80/443 to public for caddy reverse proxy, so had to duplicate that rule on each WAN interface
i disabled sticky connections in settings > firewall > advanced, as this is a pure failover situation and not load balancing.
really only a few minutes to make these config changes and everything seems great. OPNsense is such a gem
Logged
enigma62333
Newbie
Posts: 1
Karma: 0
Re: multi-wan / default gateway switching
«
Reply #1 on:
November 21, 2024, 12:39:48 am »
I am facing an issue with Multi-WAN myself using OPNsense 24.7.9_1-amd64
What I am observing is that the recommended setting from the documentation is not working as described in the documentation:
https://docs.opnsense.org/manual/how-tos/multiwan.html#step-4-policy-based-routing
.
When I configure this, the next-hop never fails over to the backup ISP when the primary fails the monitor.
Setting the
Gateway
to
default
provides the expected behavior of changing the egress WAN interface according to the monitor health.
Either the policy route function is broken in 24.7 or the documentation needs to be corrected to state that this configuration should only be used with say, load-balancing.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
multi-wan / default gateway switching