From 2878e73ad024eaab47ab9d0d9d707a66f8ff58ab Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Wed, 25 Sep 2019 14:23:50 +0200 Subject: [PATCH] petalius: fix vpn gw --- petalius.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/petalius.nix b/petalius.nix index 40b4671..2f2ef49 100644 --- a/petalius.nix +++ b/petalius.nix @@ -98,7 +98,7 @@ privateKeyFile = "/etc/wgkeys/petalius"; allowedIPsAsRoutes = true; postSetup = '' - printf "nameserver 10.57.0.1" | ${pkgs.openresolv}/bin/resolvconf -a wg0 -m 0 + printf "nameserver 10.58.0.1" | ${pkgs.openresolv}/bin/resolvconf -a wg0 -m 0 ''; postShutdown = '' ${pkgs.openresolv}/bin/resolvconf -d wg0 @@ -106,7 +106,7 @@ peers = [{ publicKey = "ByLlJbevlTBooAo2RIZGGJvBHKqA9qiOpHBvR5yuJX4="; allowedIPs = ["10.56.0.0/14" "10.60.1.1"]; - endpoint = "mtlaa-gw.gebner.org:35869"; + endpoint = "htdf-gw.gebner.org:35869"; }]; }; systemd.services.wireguard-wg0.wantedBy = pkgs.lib.mkOverride 10 [];