wireguard: wg-intra: increase carotte's persistentKeepalive
authorJulien Moutinho <julm+julm-nix@sourcephile.fr>
Fri, 5 Nov 2021 09:22:51 +0000 (10:22 +0100)
committerJulien Moutinho <julm+julm-nix@sourcephile.fr>
Fri, 5 Nov 2021 09:22:51 +0000 (10:22 +0100)
nixos/profiles/wireguard/wg-intra/hosts.nix

index 752d8a72f681d129bfa455c11e1c3efc4aaa451d..a840e2394a35f42635d34179df1eec1515645857 100644 (file)
@@ -49,7 +49,7 @@
     ipv4 = "192.168.42.5";
     ips = ["${ipv4}/24"];
     listenPort = 43646;
-    persistentKeepalive = 2;
+    persistentKeepalive = 10;
     peer = {
       publicKey = "33yNfMAIRMjwqwYszPzVGqclkAGgW6RGsnBnSzRKXm0=";
       allowedIPs = [ "${ipv4}/32" ];