From e941334ecfab7bf9f51fec0c2f0c3734fceee140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 12 Jan 2024 15:13:20 +0100 Subject: [PATCH] zerotier: configure alternative tcp fallback relay --- nixosModules/clanCore/zerotier/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixosModules/clanCore/zerotier/default.nix b/nixosModules/clanCore/zerotier/default.nix index 2ce0088c3..92d83c192 100644 --- a/nixosModules/clanCore/zerotier/default.nix +++ b/nixosModules/clanCore/zerotier/default.nix @@ -164,6 +164,10 @@ in enable = true; joinNetworks = [ cfg.networkId ]; }; + + # The official zerotier tcp relay no longer works: https://github.com/zerotier/ZeroTierOne/issues/2202 + # So we host our own relay in https://git.clan.lol/clan/clan-infra + services.zerotierone.localConf.settings.tcpFallbackRelay = "65.21.12.51/4443"; }) (lib.mkIf cfg.controller.enable { # only the controller needs to have the key in the repo, the other clients can be dynamic