Add rule to prevent bridged traffic getting pushed through the host's iptables rules if requested (do_not_firewall_bridged_traffic).
This commit is contained in:
@ -142,6 +142,20 @@ echo
|
||||
|
||||
|
||||
|
||||
# -------------
|
||||
# --- Prevent bridged traffic getting pushed through the host's iptables rules
|
||||
# -------------
|
||||
|
||||
echononl "\tPrevent bridged traffic getting pushed through the host's iptables rules"
|
||||
if $do_not_firewall_bridged_traffic ; then
|
||||
$ip6t -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT
|
||||
echo_done
|
||||
else
|
||||
echo_skipped
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# -------------
|
||||
# ------------ Stopping firewall if only flushing was requested (parameter flush)
|
||||
# -------------
|
||||
|
Reference in New Issue
Block a user