Neuter the default policy ruleset

master
Robert "ar" Gerus 2013-03-11 17:21:43 +01:00
parent f01018683d
commit 33aa41f864
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
rules() {
for chain in INPUT OUTPUT FORWARD; do
iptables -P ${chain} DROP
:
# iptables -P ${chain} DROP
done
}