mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 10:22:59 +02:00
Merge remote-tracking branch 'origin/next' into install-raid
This commit is contained in:
@@ -369,8 +369,10 @@ iptables_red_down() {
|
||||
# while the wan interface is down - this is required to
|
||||
# circumvent udp related NAT issues
|
||||
# http://forum.ipfire.org/index.php?topic=11127.0
|
||||
iptables -F REDFORWARD
|
||||
iptables -A REDFORWARD -o $IFACE -j DROP
|
||||
if [ -n "${IFACE}" ]; then
|
||||
iptables -F REDFORWARD
|
||||
iptables -A REDFORWARD -o "${IFACE}" -j DROP
|
||||
fi
|
||||
|
||||
# Reload all rules.
|
||||
/usr/local/bin/firewallctrl
|
||||
|
||||
Reference in New Issue
Block a user