Merge remote-tracking branch 'origin/next' into install-raid

This commit is contained in:
Michael Tremer
2014-08-24 13:36:39 +02:00
4 changed files with 8 additions and 4 deletions

View File

@@ -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