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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dc0b2914af0d83441ee53e192072d39b78b2f0d2;p=openwrt%2Fsvn-archive%2Fopenwrt.git fix a problem with the firewall script (multicast traffic could produce packet loss) SVN-Revision: 6726 --- diff --git a/openwrt/package/iptables/Makefile b/openwrt/package/iptables/Makefile index 2e932b58a9..27ffc0e6e9 100644 --- a/openwrt/package/iptables/Makefile +++ b/openwrt/package/iptables/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=iptables PKG_VERSION:=1.3.3 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_MD5SUM:=86d88455520cfdc56fd7ae27897a80a4 PKG_SOURCE_URL:=http://www.netfilter.org/files \ diff --git a/openwrt/package/iptables/files/firewall.init b/openwrt/package/iptables/files/firewall.init index 7f161c9967..fd2dc8e8df 100755 --- a/openwrt/package/iptables/files/firewall.init +++ b/openwrt/package/iptables/files/firewall.init @@ -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