Using iptables we can do this this
root# iptables -I FORWARD -o eth2 -p tcp --syn -j TCPMSS --set-mss 1440
Set maximum size of TCP connection to 1440
You can test using
root# tshark -n -i eth2 tcp port 80
root# iptables -I FORWARD -o eth2 -p tcp --syn -j TCPMSS --set-mss 1440
Set maximum size of TCP connection to 1440
You can test using
root# tshark -n -i eth2 tcp port 80