Apparently only DROP and ACCEPT will work.

master
Robert "ar" Gerus 2013-03-11 13:25:00 +01:00
parent 838ba574f3
commit 0f6b9e926e
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
rules() {
for chain in INPUT OUTPUT FORWARD; do
iptables -P ${chain} REJECT --reject-with icmp-port-unreachable
iptables -P ${chain} DROP
done
}