From: Felix Fietkau Date: Tue, 27 Mar 2007 16:45:10 +0000 (+0000) Subject: fix a problem with the firewall script (multicast traffic could produce packet loss) X-Git-Tag: reboot~29618 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c05a061e4ea5e6c031ee9b48d06899cacd595dbe;p=openwrt%2Fopenwrt.git fix a problem with the firewall script (multicast traffic could produce packet loss) SVN-Revision: 6726 --- diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init index 290bae1eac..310b0ec09c 100755 --- a/package/iptables/files/firewall.init +++ b/package/iptables/files/firewall.init @@ -100,7 +100,7 @@ start() { # uses the default -P DROP ### MASQ - iptables -t nat -A PREROUTING -m state --state NEW -j NEW + iptables -t nat -A PREROUTING -m state --state NEW -p tcp -j NEW iptables -t nat -A PREROUTING -j prerouting_rule [ -z "$WAN" ] || iptables -t nat -A PREROUTING -i "$WAN" -j prerouting_wan iptables -t nat -A POSTROUTING -j postrouting_rule