From fb6fdb5852ae93ce96d0df58ce0d6935d2b988ff Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 25 Nov 2026 14:36:45 +0000 Subject: retiolum-tincr: set the MTU --- configs/retiolum-tincr.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configs') diff --git a/configs/retiolum-tincr.nix b/configs/retiolum-tincr.nix index 3c150c40..699bf8ce 100644 --- a/configs/retiolum-tincr.nix +++ b/configs/retiolum-tincr.nix @@ -35,6 +35,10 @@ in { ''; }; hrm.systemd.services.tincr-retiolum.restartIfCredentialsChange = true; + # tincd doesn't set the MTU. This is what kartei's retiolum module uses, + # measured across the mesh, so paths that lose large packets don't + # stall TCP. + systemd.network.networks."40-tincr-retiolum".linkConfig.MTUBytes = "1377"; } (lib.mkIf (!config.hrm.nftables.enable) { tv.iptables.input-internet-accept-tcp = [ "tinc" ]; -- cgit v1.3.1