From 17a2b2a14bb151fee4f925be9a2168bbc83f7dbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Sat, 28 Sep 2024 23:57:23 +0300 Subject: [PATCH] Lithium clatd test --- machine-confs/lithium.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/machine-confs/lithium.nix b/machine-confs/lithium.nix index f14dab4..74d55ad 100644 --- a/machine-confs/lithium.nix +++ b/machine-confs/lithium.nix @@ -3,8 +3,6 @@ networking = { hostName = "lithium"; - firewall.allowedUDPPorts = [ 51820 ]; - wg-quick.interfaces = { wg0 = { autostart = true; @@ -38,6 +36,11 @@ Restart = "on-failure"; RestartSec = "1s"; }; + services.clatd = { + enable = true; + settings.clat-v6-addr = "2001:14ba:a08c:2df0::f3"; + }; + systemd.services.clatd.wants = [ "wg-quick-wg0.service" ]; services.openssh.enable = pkgs.lib.mkForce false; services.fail2ban.enable = pkgs.lib.mkForce false;