Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Dual wans, dual gateway rules (with one being inverted)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Dual wans, dual gateway rules (with one being inverted) (Read 2352 times)
driv3l
Newbie
Posts: 5
Karma: 0
Dual wans, dual gateway rules (with one being inverted)
«
on:
May 10, 2018, 09:53:58 pm »
Note... I am running the latest version of OPNsense.
I currently have a dual WAN setup with WAN0 being the primary, and WAN1 being the secondary / failover.
I would like to segment the traffic in my network such that the default gateway rule is that WAN0 is the primary, and WAN1 is the secondary, but for a subset of hosts (setup via an ALIAS), I would like the to invert the gateway rules so that WAN1 is the primary, and WAN0 is the secondary for that group.
Can someone point me in the right direction for how I could achieve this? Note, I am an OPNsense / router newbie.
I did manage to get a LAN rule working which allowed my ALIAS group to use WAN1 instead of the default WAN0, but I am not sure how to take the next step and have the ALIAS group also have WAN0 as the failover in case WAN1 goes down.
Thanks!
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Dual wans, dual gateway rules (with one being inverted)
«
Reply #1 on:
May 11, 2018, 06:07:13 am »
You need to setup gateway groups where WAN0 is tier 1 and WAN1 is tier 2. This is for the first users. Then a second group reversed which is for the second group of users. Put the rules with the alias (second group) in front of the other rule.
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Dual wans, dual gateway rules (with one being inverted)