summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroleg <oleg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-05 06:20:09 +0000
committeroleg <oleg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-05 06:20:09 +0000
commit3da2e35354f5d2fd2c21691fd72155bd645c3836 (patch)
treebf85cd34f3b23753b0d9468eb6ae370d3ee67e09
parentbaf35d6a366b04105f1be6e32d5e3f70d5845e7c (diff)
relates connections should be mss clamped too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1142 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xopenwrt/target/default/target_skeleton/etc/init.d/S45firewall2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/target/default/target_skeleton/etc/init.d/S45firewall b/openwrt/target/default/target_skeleton/etc/init.d/S45firewall
index 072f411a9..8f9b9404e 100755
--- a/openwrt/target/default/target_skeleton/etc/init.d/S45firewall
+++ b/openwrt/target/default/target_skeleton/etc/init.d/S45firewall
@@ -63,8 +63,8 @@ iptables -t nat -N postrouting_rule
# base case
iptables -P FORWARD DROP
iptables -A FORWARD -m state --state INVALID -j DROP
- iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
+ iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
# allow
iptables -A FORWARD -i br0 -o br0 -j ACCEPT