1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-26 08:50:37 +02:00

relates connections should be mss clamped too

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1142 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
oleg 2005-06-05 06:20:09 +00:00
parent baf35d6a36
commit 3da2e35354

View File

@ -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