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 :)
I have a similar setup. I too didn't see a need to execute the 'policy-based routing' section. Although, I have yet to thoroughly test the failover.
One question I did have on the following:
Quote from: dirtyfreebooter on October 15, 2024, 04:13:10 PM
a question or check of my setup. i recently added a backup internet connection.
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
in rule configuration there's a
gateway option whose tooltip says
eave as 'default' to use the system routing table. Or choose a gateway to utilize policy based routing. . So, in theory, additional rules definition shouldn't be required?