More functions and help
This commit is contained in:
parent
4f1d6de0ab
commit
91c3f175b5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user