I have this config and Ican't resolve my DNS lookups:

email: [EMAIL PROTECTED]="/sbin/iptables"
modprobe ip_tables
$IPT -F
$IPT -F -t nat
$IPT -X firewall
$IPT -N firewall
$IPT -A firewall -j LOG --log-level info --log-prefix 
"Firewall:"
$IPT -A firewall -j DROP
$IPT -A INPUT -s 127.0.0.1/32 -d 127.0.0.1/32 -j ACCEPT
$IPT -A INPUT -p udp --source-port 42 -j ACCEPT
$IPT -A INPUT -p tcp --source-port 42 -j ACCEPT
$IPT -A INPUT -p udp --source-port 53 -j ACCEPT
$IPT -A INPUT -p udp --source-port 2 -j ACCEPT
$IPT -A INPUT -p udp --destination-port 53 -j ACCEPT
$IPT -A INPUT -p tcp --source-port 113 -j ACCEPT
$IPT -A INPUT -p tcp --destination-port 113 -j ACCEPT
$IPT -A INPUT -p tcp ! --syn --source-port 20 
--destination-port 1024:65535 -j ACCEPT
$IPT -A INPUT -p icmp -j ACCEPT
$IPT -A INPUT -p tcp --syn -j firewall
$IPT -A INPUT -p udp -j firewall


I can't figure it out!

Thanks

Pierre

Reply via email to