From 6bb1330d7045ddfe47cf7279187d910cb4477b0d Mon Sep 17 00:00:00 2001 From: materus Date: Sat, 21 Sep 2024 11:07:57 +0200 Subject: [PATCH] Old-materusPC & materusPC: wireguard keep-alive --- configurations/host/Old-materusPC/network.nix | 1 + configurations/host/materusPC/network.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/configurations/host/Old-materusPC/network.nix b/configurations/host/Old-materusPC/network.nix index 7f74e92..420fe43 100644 --- a/configurations/host/Old-materusPC/network.nix +++ b/configurations/host/Old-materusPC/network.nix @@ -39,6 +39,7 @@ "wireguard-peer.${materusArg.wireguard.pubKeys.valkyrie}" = { endpoint = "${materusArg.ips.valkyrie}:${materusArg.wireguard.port}"; allowed-ips = "${materusArg.ip-masks.wireguard.general};"; + persistent-keepalive = "20"; }; ipv4 = { address1 = "${materusArg.ips.wireguard.Old-materusPC}/23"; diff --git a/configurations/host/materusPC/network.nix b/configurations/host/materusPC/network.nix index 34656d5..a709151 100644 --- a/configurations/host/materusPC/network.nix +++ b/configurations/host/materusPC/network.nix @@ -54,6 +54,7 @@ "wireguard-peer.${materusArg.wireguard.pubKeys.valkyrie}" = { endpoint = "${materusArg.ips.valkyrie}:${materusArg.wireguard.port}"; allowed-ips = "${materusArg.ip-masks.wireguard.general};"; + persistent-keepalive = "20"; }; ipv4 = { address1 = "${materusArg.ips.wireguard.materusPC}/23";