From 93b4b7c9ef5f7c0f774968bc8ae33baf8a86e4db Mon Sep 17 00:00:00 2001 From: clerie Date: Tue, 8 Dec 2020 18:56:18 +0100 Subject: [PATCH] Fix interface template --- hosts/dn42-il-gw1/configuration.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/dn42-il-gw1/configuration.nix b/hosts/dn42-il-gw1/configuration.nix index c229d16..a772d7a 100644 --- a/hosts/dn42-il-gw1/configuration.nix +++ b/hosts/dn42-il-gw1/configuration.nix @@ -39,7 +39,7 @@ ]; postSetup = '' ip -6 route flush dev %i - ip addr del dev %i fe80::42:1/128 && ip addr add dev %i fe80::42:1/128 peer fe80::42:42:1/128 + ip addr del dev wg0197 fe80::42:1/128 && ip addr add dev %i fe80::42:1/128 peer fe80::42:42:1/128 ''; listenPort = 50197; allowedIPsAsRoutes = false; @@ -60,7 +60,7 @@ ]; postSetup = '' ip -6 route flush dev %i - ip addr del dev %i fe80::43:43:1/128 && ip addr add dev %i fe80::43:43:1/128 peer fe80::43:1/128 + ip addr del dev wg0565 fe80::43:43:1/128 && ip addr add dev %i fe80::43:43:1/128 peer fe80::43:1/128 ''; listenPort = 50565; allowedIPsAsRoutes = false; @@ -81,7 +81,7 @@ ]; postSetup = '' ip -6 route flush dev %i - ip addr del dev %i fe80::1/128 && ip addr add dev %i fe80::1/128 peer fe80::2/128 + ip addr del dev wg1271 fe80::1/128 && ip addr add dev %i fe80::1/128 peer fe80::2/128 ''; listenPort = 51271; allowedIPsAsRoutes = false; @@ -101,7 +101,7 @@ ]; postSetup = '' ip -6 route flush dev %i - ip addr del dev %i fe80::1:1/128 && ip addr add dev %i fe80::1:1/128 peer fe80::1:2/128 + ip addr del dev wg1272 fe80::1:1/128 && ip addr add dev %i fe80::1:1/128 peer fe80::1:2/128 ''; listenPort = 51272; allowedIPsAsRoutes = false;