So, I'm guessing, the correct solution would be iptables -A INPUT -p udp -i eth0 --destination-port 53 -j ACCEPT
Steve
Andrew Jacobs wrote:
I'm trying to set up a simple DNS server, but somehow I can't figure out what's going on with my IPTables--they seem to be stopping DNS traffic from passing through. If I stop my IPTables, the DNS works just fine. Also if I query locally, it works as well. Here's the command I've entered:
iptables -A INPUT -p tcp -i eth0 --destination-port 53 -j ACCEPT
Shouldn't that be enough? Doing a tcpdump reveals a prompt "udp port domain unreachable [tos 0xc0] "
-Andrew
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
