From: Oleg I. Vdovikin Date: Sun, 5 Jun 2005 06:20:09 +0000 (+0000) Subject: relates connections should be mss clamped too X-Git-Tag: reboot~32582 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dd45857be19af777c10d12c69f6cd676db7408a6;p=oweals%2Fopenwrt.git relates connections should be mss clamped too SVN-Revision: 1142 --- diff --git a/openwrt/target/default/target_skeleton/etc/init.d/S45firewall b/openwrt/target/default/target_skeleton/etc/init.d/S45firewall index 072f411a9f..8f9b9404e5 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