master
parent
10a4d89d3c
commit
313cff540c
|
@ -35,6 +35,8 @@ if [ $CLAMPMSS ]; then
|
||||||
echo "Clamping MSS to PMTU..."
|
echo "Clamping MSS to PMTU..."
|
||||||
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS \
|
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS \
|
||||||
--clamp-mss-to-pmtu
|
--clamp-mss-to-pmtu
|
||||||
|
iptables -A OUTPUT -p tcp --tcp-flags SYN,RST SYN -j TCPMSS \
|
||||||
|
--clamp-mss-to-pmtu
|
||||||
|
|
||||||
#$IPTABLES -t mangle -o $CLAMPMSS -A FORWARD -p tcp \
|
#$IPTABLES -t mangle -o $CLAMPMSS -A FORWARD -p tcp \
|
||||||
# --tcp-flags SYN,RST SYN -m tcpmss --mss 1400:1536 \
|
# --tcp-flags SYN,RST SYN -m tcpmss --mss 1400:1536 \
|
||||||
|
|
Loading…
Reference in New Issue