IPTable Policies Concerning DNS... Help.
Hi everyone,
I'm building a firewall, but I seem to be having troubles with allowing DNS through. I'm using IPTables v1.2.6a. And here is my iptables policy:
iptables -P INPUT DROP
iptables -P OUTOUT DROP
iptables -P FORWARD DROP
iptables -A INPUT -p udp -s 0/0 --sport 53 -d 0/0 -j ACCEPT
iptables -A INPUT -p tcp -s 0/0 --sport 53 -d 0/0 -j ACCEPT
Now as far as I know, that should work. It should DROP everything, accept for DNS request's. But that doesn't seem to work. Does anyone have any idea what I'm doing wrong ?
Thanks
-SpookMonkey
|