diff options
| author | tv <tv@krebsco.de> | 2026-11-25 14:36:45 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-25 14:36:45 +0000 |
| commit | fb6fdb5852ae93ce96d0df58ce0d6935d2b988ff (patch) | |
| tree | f4ce509236754d1e108f68e11e9db755a684ccce /configs | |
| parent | 631e8be8aab3bf624c51fbd97b8988159ba6ccd9 (diff) | |
retiolum-tincr: set the MTU
Diffstat (limited to 'configs')
| -rw-r--r-- | configs/retiolum-tincr.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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" ]; |
