relates connections should be mss clamped too
authoroleg <oleg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Jun 2005 06:20:09 +0000 (06:20 +0000)
committeroleg <oleg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Jun 2005 06:20:09 +0000 (06:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1142 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/target/default/target_skeleton/etc/init.d/S45firewall

index 072f411a9fe4748c0d3b587ef8d2719e36351b72..8f9b9404e527d588398881727aaf62788fdba9c2 100755 (executable)
@@ -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