I'm running Vyatta
gateway with a CentOS
Linux behind, and IPSec
tunnel in front.
Trying to display my setup:
PARTNER-NETWORK <--- IPSec (GRE, MTU 1420) ---> VYATTA (TUNNEL, MTU 1420 <> eth0, MTU 1500) <---> CentOS (eth0, MTU 1500) <---> internet (eth0, MTU 1500)
I see a lot TCP retransmissions, dublicates etc. and I guess it's because of different MTU/MSS - it's hard to debug :(
I've tried to add the folloing on my CentOS:
iptables -A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
But that doesn't seem to solve the problem.
How can I debug where the problem is exactly, and any idea on how to solve the issues?