From 885021c49e62969ddac9245bc015af9bd2e8964c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Thu, 20 Feb 2025 23:09:43 +0200 Subject: [PATCH] Change WireGuard subnet --- machine-confs/helium.nix | 6 +++--- machine-confs/lithium.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/machine-confs/helium.nix b/machine-confs/helium.nix index f4bdc3a..aa3c19d 100644 --- a/machine-confs/helium.nix +++ b/machine-confs/helium.nix @@ -6,9 +6,9 @@ wg-quick.interfaces = { wg0 = { autostart = true; - address = [ "2001:14ba:a090:39f0::2/64" ]; + address = [ "2001:14ba:a090:39ff::2/64" ]; dns = [ - "2001:14ba:a090:39f0::1" + "2001:14ba:a090:39ff::1" "vsinerva.fi" ]; privateKeyFile = "/root/wireguard-keys/privatekey-home"; @@ -50,7 +50,7 @@ }; services.clatd = { enable = true; - settings.clat-v6-addr = "2001:14ba:a090:39f0::c2"; + settings.clat-v6-addr = "2001:14ba:a090:39ff::c2"; }; systemd.services.clatd.wants = [ "wg-quick-wg0.service" ]; diff --git a/machine-confs/lithium.nix b/machine-confs/lithium.nix index 4d1adf8..09f8939 100644 --- a/machine-confs/lithium.nix +++ b/machine-confs/lithium.nix @@ -6,9 +6,9 @@ wg-quick.interfaces = { wg0 = { autostart = true; - address = [ "2001:14ba:a090:39f0::3/64" ]; + address = [ "2001:14ba:a090:39ff::3/64" ]; dns = [ - "2001:14ba:a090:39f0::1" + "2001:14ba:a090:39ff::1" "vsinerva.fi" ]; privateKeyFile = "/root/wireguard-keys/privatekey-home"; @@ -32,7 +32,7 @@ }; services.clatd = { enable = true; - settings.clat-v6-addr = "2001:14ba:a090:39f0::c3"; + settings.clat-v6-addr = "2001:14ba:a090:39ff::c3"; }; systemd.services.clatd.wants = [ "wg-quick-wg0.service" ];