From 168d45ed8a1895a43db19f5d97f7fb79fe63b894 Mon Sep 17 00:00:00 2001 From: kalipso Date: Fri, 17 Jan 2025 00:29:11 +0100 Subject: [PATCH] [vpn] set mtu 1340 --- machines/modules/malobeo/wireguard.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/machines/modules/malobeo/wireguard.nix b/machines/modules/malobeo/wireguard.nix index 89207bbf..b2a534f8 100644 --- a/machines/modules/malobeo/wireguard.nix +++ b/machines/modules/malobeo/wireguard.nix @@ -69,6 +69,7 @@ in networking.wg-quick = { interfaces = { malovpn = { + mtu = 1340; #seems to be necessary to proxypass nginx traffic through vpn address = myPeer.address; autostart = cfg.autostart; listenPort = mkIf (myPeer.role == "server") myPeer.listenPort;