relates connections should be mss clamped too

SVN-Revision: 1142
This commit is contained in:
Oleg I. Vdovikin 2005-06-05 06:20:09 +00:00
parent 34cdd1fc82
commit dd45857be1

View file

@ -63,8 +63,8 @@ iptables -t nat -N postrouting_rule
# base case # base case
iptables -P FORWARD DROP iptables -P FORWARD DROP
iptables -A FORWARD -m state --state INVALID -j 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 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
# allow # allow
iptables -A FORWARD -i br0 -o br0 -j ACCEPT iptables -A FORWARD -i br0 -o br0 -j ACCEPT