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