Add either MTU and MSS handling via `config.py` in `server` repo and default to minimal sane values
```
iptables -t mangle -A FORWARD -o eth0 \
-p tcp -m tcp --tcp-flags SYN,RST SYN \
-m tcpmss --mss 1361:1536 \
-j TCPMSS --set-mss 1360
```
https://www.zeitgeist.se/2013/11/26/mtu-woes-in-ipsec-tunnels-how-to-fix/
lauri
changed title from Add MTU handling to Add MTU/MSS handling2021-06-17 04:54:19 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add either MTU and MSS handling via
config.pyinserverrepo and default to minimal sane valueshttps://www.zeitgeist.se/2013/11/26/mtu-woes-in-ipsec-tunnels-how-to-fix/
Add MTU handlingto Add MTU/MSS handlingPossibly also tune
charon.fragment_sizewith same value for IPSec daemon.https://wiki.strongswan.org/projects/strongswan/wiki/Strongswanconf
Possibly also keep
--tun-mtuon OpenVPN aligned to the values and disable internal fragmentation for OpenVPN.