From 82b4d37424b9f0a80333044e4438e4bc3f593b48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Thu, 26 Sep 2024 12:01:39 +0300 Subject: [PATCH] Change WG to route all traffic helium+lithium --- machine-confs/helium.nix | 6 +++++- machine-confs/lithium.nix | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/machine-confs/helium.nix b/machine-confs/helium.nix index 38d1564..42e18e3 100644 --- a/machine-confs/helium.nix +++ b/machine-confs/helium.nix @@ -8,7 +8,10 @@ wg-quick.interfaces = { wg0 = { autostart = true; - address = [ "fd08:d473:bcca:f0::2/64" ]; + address = [ + "fd08:d473:bcca:f0::2/64" + "2001:14ba:a08c:2df0::2/64" + ]; dns = [ "fd08:d473:bcca::1" "vsinerva.fi" @@ -22,6 +25,7 @@ allowedIPs = [ "fd08:d473:bcca::/64" "fd08:d473:bcca:f0::/64" + "::/0" ]; endpoint = "wg.vsinerva.fi:51820"; } diff --git a/machine-confs/lithium.nix b/machine-confs/lithium.nix index da08e23..f14dab4 100644 --- a/machine-confs/lithium.nix +++ b/machine-confs/lithium.nix @@ -8,7 +8,10 @@ wg-quick.interfaces = { wg0 = { autostart = true; - address = [ "fd08:d473:bcca:f0::3/64" ]; + address = [ + "fd08:d473:bcca:f0::3/64" + "2001:14ba:a08c:2df0::3/64" + ]; dns = [ "fd08:d473:bcca::1" "vsinerva.fi" @@ -22,6 +25,7 @@ allowedIPs = [ "fd08:d473:bcca::/64" "fd08:d473:bcca:f0::/64" + "::/0" ]; endpoint = "wg.vsinerva.fi:51820"; }