[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CNAME, iptables and qmail

Try to add following lines into your firewall script:
iptables -A INPUT -p udp -i $DEV -s 0/0 --sport 53 -j ACCEPT
iptables -A INPUT -p udp -i $DEV -s 0/0 -j DROP
iptables -A OUTPUT -p udp -i $DEV -d 0/0 --dport 53 -j ACCEPT

Works fine with my firewall...

Michael "carstein" Melewski	 |	"One day, he said, in a taped segment	
carstein@poznan.linux.org.pl 	 |	 that suggested chemical interrogation,
mobile:	502 545 913		 |	 everything had gone gray."
gpg: carstein.c.pl/carstein.txt	 |	 -- Corto , 'Neuromancer'

Attachment: pgpGF9teKbpqk.pgp
Description: PGP signature

Reply to: