diff --git a/wg.go b/wg.go index ac9cfde..b0863b7 100644 --- a/wg.go +++ b/wg.go @@ -112,6 +112,7 @@ func (cfg *Config) Sync(iface string, logger logrus.FieldLogger) error { wgLink := &netlink.GenericLink{ LinkAttrs: netlink.LinkAttrs{ Name: iface, + MTU: cfg.MTU, }, LinkType: "wireguard", }