For the life of me I cant get this to work. I can do it with a cisco. I can even do it in windows. Hopefully someone can help me figure out what im missing so i can do it with opnsense.
topology
gateway1 gateway2
192.168.1.1 255.255.255.0 192.168.1.2 255.255.255.0
opnsense
wan 192.168.1.3 255.255.255.0
nat
lan 10.0.3.1 255.255.255.0
Ok so here is the problem is i want all lan traffic to go out gateway1 except a certain subnet. I can get all of it to go out gateway 1 with no issues at all. However I cannot get a static route for a certain subnet to go out gateway two.
I have gateway1 setup as my upstream gateway in my wan interfaces settings.
I have both gateways defined in system gateways.
Under routes I defined the subnet and pointed it towards gateway 2.
Hopefully someone can tell me what im missing.
topology
gateway1 gateway2
192.168.1.1 255.255.255.0 192.168.1.2 255.255.255.0
opnsense
wan 192.168.1.3 255.255.255.0
nat
lan 10.0.3.1 255.255.255.0
Ok so here is the problem is i want all lan traffic to go out gateway1 except a certain subnet. I can get all of it to go out gateway 1 with no issues at all. However I cannot get a static route for a certain subnet to go out gateway two.
I have gateway1 setup as my upstream gateway in my wan interfaces settings.
I have both gateways defined in system gateways.
Under routes I defined the subnet and pointed it towards gateway 2.
Hopefully someone can tell me what im missing.
"