Guilsson .
2017-02-21 01:07:13 UTC
HI,
I have these rules on my FW:
# ---
REJECT:info loc net:8.8.8.8,8.8.4.4 udp domain
#
REDIRECT:info loc 54 udp domain
# ---
Goal:
If a DNS packet from my LAN tries to goto to 8.8.8.8 I want to REJECT it.
If a DNS packet from my LAN tries to goto to 4.4.2.2 I want to REDIRECT it
to my Bind daemon listening on port 54.
I looked "shorewall dump" and the rules are there.
But...
If only the REJECT is enabled, works fine.
if only the REDIRECT is enabled, works fine.
If I left both enabled, only REDIRECT rules is enforced.
Any clue how to get all these rules works like I need ?
-Guilsson
I have these rules on my FW:
# ---
REJECT:info loc net:8.8.8.8,8.8.4.4 udp domain
#
REDIRECT:info loc 54 udp domain
# ---
Goal:
If a DNS packet from my LAN tries to goto to 8.8.8.8 I want to REJECT it.
If a DNS packet from my LAN tries to goto to 4.4.2.2 I want to REDIRECT it
to my Bind daemon listening on port 54.
I looked "shorewall dump" and the rules are there.
But...
If only the REJECT is enabled, works fine.
if only the REDIRECT is enabled, works fine.
If I left both enabled, only REDIRECT rules is enforced.
Any clue how to get all these rules works like I need ?
-Guilsson