The WireGuard MTU stuff is so tricky...

1440: safe for IPv4 outer layer
1420: safe for IPv6 outer layer
1400: safe if outer layer is IPv4 over ds-lite
1392: safe for IPv4 over ds-lite over PPPoE

But wait, FLET'S PPPoE in Japan has extra encapsulation... your PPP packets get sent through L2TP, then UDP, then IP, then Ethernet, adding 46 bytes of overhead (1454 MTU).

1394: safe for IPv4 on FLET'S PPPoE
1374: safe for IPv6 on FLET'S PPPoE
1354: safe for DS-Lite over FLET's PPPoE (does anyone do this????)
1344: round down to multiple of 16 for the MTU mismatch issue.

So it looks like to roam on WG VPNs in Japan, I need to set the MTU to 1344 to avoid problems.

(And now I know why my connections were hanging in this hotel...)

0

If you have a fediverse account, you can quote this note from your own instance. Search https://vt.social/users/lina/statuses/114408254076814011 on your instance and quote it. (Note that quoting is not supported in Mastodon.)