Apparently only DROP and ACCEPT will work.
parent
838ba574f3
commit
0f6b9e926e
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue