- Mitglied seit
- 17 Feb 2010
- Beiträge
- 225
- Punkte für Reaktionen
- 0
- Punkte
- 0
I am trying to block traffic from the iodine server (device dns0) to the internal net (192.178.168.0/24) and the box itself. I have tried the following rules, but they appear not to block the internal traffic.
Even if I do:
traffic from the tunnel to the internal net is flowing.
Maybe I am overlooking something obvious? Any advice?
Code:
iptables -A FORWARD -i dns0 -o dsl -j ACCEPT
iptables -A FORWARD -i dns0 -j DROP
Even if I do:
Code:
iptables -I INPUT -i dns0 -j DROP
iptables -I OUTPUT -o dns0 -j DROP
iptables -I FORWARD -i dns0 -j DROP
iptables -I FORWARD -o dns0 -j DROP
traffic from the tunnel to the internal net is flowing.
Maybe I am overlooking something obvious? Any advice?