Inputs
A base link MTU and any combination of tunnel overheads to stack.
AdeOS interactive tools
Work out the real usable MTU and MSS after one or more tunnel encapsulations, and get ready-to-use MSS clamp config.
Subtract tunnel overhead from a base link MTU and derive the resulting TCP MSS for IPv4 and IPv6.
A base link MTU and any combination of tunnel overheads to stack.
Effective MTU, IPv4/IPv6 MSS, a fragmentation-risk flag, and MSS clamp config snippets.
Check the effective MSS for a WireGuard tunnel over a PPPoE DSL link.
Results support planning and learning; verify production changes against your platform and change controls.
iptables -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1460add rule inet filter forward tcp flags syn tcp option maxseg size set 1460ip tcp adjust-mss 1460