From 3adae258706c41c3dda1a501eec96ce9076f5534 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 3 Mar 2023 15:23:33 +0300 Subject: [PATCH] machines/canigou: add keep alive to each peer --- machines/canigou/services/wireguard.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/machines/canigou/services/wireguard.nix b/machines/canigou/services/wireguard.nix index 3806680..d791ccd 100644 --- a/machines/canigou/services/wireguard.nix +++ b/machines/canigou/services/wireguard.nix @@ -45,11 +45,13 @@ in publicKey = "Gg+p7tysAhu2X841weBiQrqoKXh6kvcmDiCY62rLwQg="; # List of IPs assigned to this peer within the tunnel subnet. Used to configure routing. allowedIPs = [ "10.100.0.2/32" ]; + persistentKeepalive = 25; } { # Asus publicKey = "mzVH0N3q7UE/XjMwgRks+D8KFuIj91VkOK2ytgjsnkw="; allowedIPs = [ "10.100.0.3/32" ]; + persistentKeepalive = 25; } ]; };