Some minor changes on script output.
This commit is contained in:
parent
6966eff903
commit
f362a8dfc1
@ -146,13 +146,14 @@ echo
|
||||
# --- Prevent bridged traffic getting pushed through the host's iptables rules
|
||||
# -------------
|
||||
|
||||
echononl "\tPrevent bridged traffic getting pushed through the host's iptables rules"
|
||||
echononl "\tDo not firewall bridged traffic"
|
||||
if $do_not_firewall_bridged_traffic ; then
|
||||
$ip6t -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT
|
||||
echo_done
|
||||
else
|
||||
echo_skipped
|
||||
fi
|
||||
echo
|
||||
|
||||
|
||||
|
||||
@ -162,6 +163,9 @@ fi
|
||||
|
||||
case $1 in
|
||||
flush)
|
||||
echo
|
||||
echo -e "\t\033[37m\033[1mFlushing firewall was requested. No more rules..\033[m"
|
||||
echo
|
||||
exit 0;;
|
||||
esac
|
||||
|
||||
|
@ -225,13 +225,14 @@ echo
|
||||
# --- Prevent bridged traffic getting pushed through the host's iptables rules
|
||||
# -------------
|
||||
|
||||
echononl "\tPrevent bridged traffic getting pushed through the host's iptables rules"
|
||||
echononl "\tDo not firewall bridged traffic"
|
||||
if $do_not_firewall_bridged_traffic ; then
|
||||
$ipt -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT
|
||||
echo_done
|
||||
else
|
||||
echo_skipped
|
||||
fi
|
||||
echo
|
||||
|
||||
|
||||
|
||||
@ -241,6 +242,9 @@ fi
|
||||
|
||||
case $1 in
|
||||
flush)
|
||||
echo
|
||||
echo -e "\t\033[37m\033[1mFlushing firewall was requested. No more rules..\033[m"
|
||||
echo
|
||||
exit 0;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user