Greetings,
I am having trouble getting multiple DNAT rules to act the way I want them to.
I have a few services in my DMZ that I want to explicitly forward traffic to - this all works perfectly. I also have an IDS box in the same DMZ (on a hub) that I want to be able to see ALL traffic. So, what I was hoping to do is first forward all specific public traffic to the appropriate host in the DMZ, and then forward everything else to the second 'internal' firewall so that all traffic would be seen by my IDS.
The problem is that this doesn't work. If I enable a DNAT rule at the 'bottom' of the stack that says ANY-->WAN_ADDRESS-->INT_FIREWALL, it goes by that rule first and ignores my other predefined rules for the DMZ traffic.
How can I get it to do my DMZ rules first and then do my 'if not those --> all other to internal firewall' rule?
Any thoughts would be appreciated.
This thread was automatically locked due to age.