fix a problem with the firewall script (multicast traffic could produce packet loss)
[openwrt/svn-archive/openwrt.git] / openwrt / package / iptables / files / firewall.init
index 7f161c9967e5108f460270fa1e7e2e786ea898d5..fd2dc8e8df8ed61d2aaa313705d6e50e2beeb9cc 100755 (executable)
@@ -96,7 +96,7 @@ iptables -A LAN_ACCEPT -j ACCEPT
   # 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
   iptables -t nat -A PREROUTING -i $WAN -j prerouting_wan