diff --git a/hosts/gatekeeper/configuration.nix b/hosts/gatekeeper/configuration.nix index 021e0e5..c5500d3 100644 --- a/hosts/gatekeeper/configuration.nix +++ b/hosts/gatekeeper/configuration.nix @@ -40,7 +40,7 @@ networking.wireguard.enable = true; networking.wireguard.interfaces = { - wg-carbon = { + wg-carbon4 = { ips = [ "fe80::127:1/64" "169.254.127.1/24" ]; peers = [ { allowedIPs = [ "0.0.0.0/0" "::/0" ]; @@ -48,18 +48,18 @@ } ]; listenPort = 50127; allowedIPsAsRoutes = false; - privateKeyFile = "/var/src/secrets/wireguard/wg-carbon"; + privateKeyFile = "/var/src/secrets/wireguard/wg-carbon4"; }; - wg-nonat = { + wg-nonat6 = { ips = [ "fe80::128:1/64" "169.254.128.1/24" ]; peers = [ { allowedIPs = [ "0.0.0.0/0" "::/0" ]; - endpoint = "nonat.net.clerie.de:50128"; + endpoint = "[2001:638:904:ffca::6]:50128"; publicKey = "0GGDyPj/0uMaba9pmOyj+Sx+3jMivpRdpTJhadl6bS8="; } ]; listenPort = 50128; allowedIPsAsRoutes = false; - privateKeyFile = "/var/src/secrets/wireguard/wg-nonat"; + privateKeyFile = "/var/src/secrets/wireguard/wg-nonat6"; }; wg-vpn = { ips = [ "2a01:4f8:c0c:15f1::8001/113" "10.20.30.1/24" ]; @@ -186,11 +186,11 @@ export all; }; area 0 { - interface "wg-carbon" { + interface "wg-carbon4" { cost 80; type pointopoint; }; - interface "wg-nonat" { + interface "wg-nonat6" { cost 80; type pointopoint; }; @@ -204,11 +204,11 @@ export all; }; area 0 { - interface "wg-carbon" { + interface "wg-carbon4" { cost 80; type pointopoint; }; - interface "wg-nonat" { + interface "wg-nonat6" { cost 80; type pointopoint; };