Dual WAN IP routing
-
Dear All,
I'm strubbeling for with a problem wich I can't resolve with the solutions on the forums so far.
The thing I want, is actualy not so difficult in my opion.
See image.DMZ = 192.168.74.0/24
LAN = 192.168.70.0/24So I have created NAT rules to let the traffic in:
NAT Rules
OUTBOUND Rules
I have disabled the outbout rules from DMZ to WAN01.
Enabled also not workingWAN02 Rules
DMZ Rules
Logs
The traffic is there but the website not.
The Host DMZ03 does go outside with WAN02 as IP, which is correct.
The traffic seems to go to the correct host.
What I'm I missing to get it to work.
Any help would be appreciated. -
-
The default gateway is WAN01
2.5.1-RELEASE (amd64)
built on Mon Apr 12 07:50:14 EDT 2021
FreeBSD 12.2-STABLE -
@miesje
This version has a bug causing replies going to the default gateway, regardless on which interface the requests was coming in.You can do a rollback to 2.5.0 or go with 2.5.2 RC.
-
I red something about that but I was not sure if it would affect my situation.
I will try the RC candidate because the 2.50 will fail my IPSEC traffic.Will let you no if it is resolves.
Thanks for taking the time to look at my problem.Regards,
Miesje -
I have turned to 2.5.2 Rc and it is working now.
I had to remove the dhcp gateway WAN02 from the WAN02 rule, to default.Thanks again for the help.
-
@miesje said in Dual WAN IP routing:
I had to remove the dhcp gateway WAN02 from the WAN02 rule, to default.
Didn't notice the gateway setting before. No, the gateway option in a filter rule is only meant for policy routing and that is mostly not wanted on incoming traffic.