2 Wan, 2 network
-
Hello,
My problem is probably a strange thing, but i don't have any choice and i must do that.
I have 2 ISP :
- WAN interface : 10.10.10.250 - GW 10.10.10.254
- OPT1 interface : 11.11.11.250 - GW 11.11.11.254
And 2 networks
- LAN interface : 192.168.1.0/24
- OPT2 interface : 172.168.1.0/24
The LAN network must pass by OPT1 GW and the OPT2 network must pass by WAN GW. I can switch interface, but the 2 networks must use different gateway (WAN / LAN and OPT1 / OPT2 for example).
I tried to set the route but i didn't find a way to do that
Anyone have an idea or a start point to solve this problem ?
Thanks
Sorry if I maked mistakes in my sentences.
-
Not sure what your trying to route?
So on your lan interface rules set the gateway you want these clients to use. On your opt2 (lan2) rules set specific gateway to use.
You going to want to have a rule above these rules that call specific gateway to allow traffic between your lan and opt2 network - if you want to allow this traffic.
Also your going to want to make sure your outbound nat is setup correctly.. So I assume these pfsense wan address are made up.. since one is rfc1918 space and the other is public space at 11.11.11, etc. So are both public or is one actually 10.10.10 and you made up the other one that is public to hide it?