Revert to VPN original MTU (set by WIREGUARD_MTU for example) if ICMP fails

This commit is contained in:
Quentin McGaw
2025-10-03 14:16:47 +00:00
parent b6e873cf25
commit c0ebd180cb
2 changed files with 6 additions and 4 deletions

View File

@@ -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".