More functions and help

master
bbruns 2010-08-23 21:42:06 +00:00
parent 4f1d6de0ab
commit 91c3f175b5
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ function iptables_rules_flush {
ipv6) VER_IPTABLES=$IP6TABLES ;;
ipv4|*) VER_IPTABLES=$IPTABLES ;;
esac
display_c RED "Flushing $VER_IPTABLES rules..."
$VER_IPTABLES --flush &>/dev/null
$VER_IPTABLES -F OUTPUT &>/dev/null
$VER_IPTABLES -F PREROUTING &>/dev/null