small fixes
parent
05ae772e99
commit
e833daec81
5
fw.sh
5
fw.sh
|
@ -37,7 +37,7 @@ fw_test() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fw_flush() {
|
fw_flush() {
|
||||||
# raw security
|
# We don't use (yet?) these tables: raw, security
|
||||||
for table in filter nat mangle; do
|
for table in filter nat mangle; do
|
||||||
iptables --table ${table} --flush
|
iptables --table ${table} --flush
|
||||||
done
|
done
|
||||||
|
@ -52,6 +52,9 @@ case ${1} in
|
||||||
apply)
|
apply)
|
||||||
fw_apply
|
fw_apply
|
||||||
;;
|
;;
|
||||||
|
flush)
|
||||||
|
fw_flush
|
||||||
|
;;
|
||||||
restore)
|
restore)
|
||||||
fw_restore
|
fw_restore
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue