master
Robert "ar" Gerus 2013-03-12 17:30:38 +01:00
parent 6879b88bfd
commit bc4ce5ccee
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ rules() {
for chain in OUTPUT INPUT; do
for proto in tcp udp; do
for type in s d; do
iptables -t filter $flag INPUT -s 127.0.0.0/8 -d 127.0.0.0/8 -p ${proto} -m ${proto} --${type}port 53 -j ACCEPT;
iptables -t filter $flag ${chain} -s 127.0.0.0/8 -d 127.0.0.0/8 -p ${proto} -m ${proto} --${type}port 53 -j ACCEPT;
done
done
done