feat(vpn): path MTU discovery to find the best MTU (#2586)

This commit is contained in:
Quentin McGaw
2026-01-21 18:02:23 +01:00
committed by GitHub
parent fba60af772
commit de38d759a4
20 changed files with 982 additions and 0 deletions
@@ -45,6 +45,7 @@ type Wireguard struct {
// It has been lowered to 1320 following quite a bit of
// investigation in the issue:
// https://github.com/qdm12/gluetun/issues/2533.
// Note this should now be replaced with the PMTUD feature.
MTU uint16 `json:"mtu"`
// Implementation is the Wireguard implementation to use.
// It can be "auto", "userspace" or "kernelspace".