aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-27 16:45:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-27 16:45:10 +0000
commitfe3407131452ac8812379e768d199349f8553258 (patch)
tree6a75c6e43db68b73c30589cac5caae855e1b0a89
parent036e1f051a92a0ed3b84ee569ebd5a98a09e7dfb (diff)
downloadupstream-fe3407131452ac8812379e768d199349f8553258.tar.gz
upstream-fe3407131452ac8812379e768d199349f8553258.tar.bz2
upstream-fe3407131452ac8812379e768d199349f8553258.zip
fix a problem with the firewall script (multicast traffic could produce packet loss)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6726 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/iptables/files/firewall.init2
1 files changed, 1 insertions, 1 deletions
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