From bd5a96e1681d3bc677da38ea3294dbfafac9d4eb Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Oct 2021 23:01:02 +0200 Subject: yggdrasil-wg: ... --- modules/yggdrasil-wg/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/yggdrasil-wg/default.nix b/modules/yggdrasil-wg/default.nix index 3d9da305..316371ea 100644 --- a/modules/yggdrasil-wg/default.nix +++ b/modules/yggdrasil-wg/default.nix @@ -70,11 +70,12 @@ let netdevConfig = { Name = "yggre-${other}"; Kind = "ip6gretap"; - MTUBytes = toString (1280 + 32); + MTUBytes = toString (1280 + 58); }; tunnelConfig = { Local = stripSubnet wgHostIPs.${hostName}; Remote = stripSubnet wgHostIPs.${other}; + DiscoverPathMTU = false; }; }; linkToGreNetwork = ix: opts@{from, to, ...}: @@ -122,7 +123,7 @@ in { netdevConfig = { Name = "yggdrasil-wg"; Kind = "wireguard"; - MTUBytes = toString (1280 + 32 + 70); + MTUBytes = toString (1280 + 58 + 70); }; wireguardConfig = { PrivateKeyFile = config.sops.secrets."yggdrasil-wg.priv".path; -- cgit v1.2.3