From bb450642b78f55f35c5c1eb2cb3c54ad00c08ff1 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Sat, 12 Dec 2020 23:31:34 +0100 Subject: [PATCH] Rollback wireguard to v4 --- nixos/machines/apollo/configuration.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/machines/apollo/configuration.nix b/nixos/machines/apollo/configuration.nix index 2c1ecc02..88821f7c 100644 --- a/nixos/machines/apollo/configuration.nix +++ b/nixos/machines/apollo/configuration.nix @@ -29,10 +29,10 @@ in { peers = [{ publicKey = wireguard.pub.hera; allowedIPs = [ "::/0" ]; - endpoint = - "[${hosts.hera-wg-host}]:${builtins.toString wireguard.port}"; + # endpoint = + # "[${hosts.hera-wg-host}]:${builtins.toString wireguard.port}"; # If v6 is not available: - # endpoint = "[${hosts.hera-v4}]:${builtins.toString wireguard.port}"; + endpoint = "[${hosts.hera-v4}]:${builtins.toString wireguard.port}"; presharedKeyFile = pkgs.privatePath "wireguard/psk"; persistentKeepalive = 25; }];