From f51bc637dac7f900f8df376a982b9547f20cbc54 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 15 Oct 2022 23:28:33 +0200 Subject: [PATCH] =?UTF-8?q?wireguard/home:=20Hardcode=20server=E2=80=99s?= =?UTF-8?q?=20IPv4=20address?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some devices (like fuuko) sadly do not have IPv6 connectivity which makes their connection fail. --- modules/wireguard/home.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/wireguard/home.nix b/modules/wireguard/home.nix index 1982dab..3cef343 100644 --- a/modules/wireguard/home.nix +++ b/modules/wireguard/home.nix @@ -70,7 +70,8 @@ in { allowedIPs = [ "10.80.0.0/24" ]; publicKey = peers."${serverHostName}".publicKey; - endpoint = "${serverHostName}.sbruder.de:51820"; + #endpoint = "${serverHostName}.sbruder.de:51820"; # not possible because sadly not all devices have IPv6 connectivity + endpoint = "195.201.139.15:51820"; persistentKeepalive = 25; } ];