summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/wireguard
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-03-12 20:31:06 +0100
committermakefu <github@syntax-fehler.de>2021-03-12 20:31:06 +0100
commitc5e6e6ba31d67c148068ae14ab06d54e65ae495b (patch)
tree188f8b0cfd127537a826c8272b56c06a33afac6c /makefu/2configs/wireguard
parent851ea9fef4d4e5351f73d7655721fcfcea85a69a (diff)
ma wireguard/server: enable persistentKeepalive
Diffstat (limited to 'makefu/2configs/wireguard')
-rw-r--r--makefu/2configs/wireguard/server.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/makefu/2configs/wireguard/server.nix b/makefu/2configs/wireguard/server.nix
index 76fea1d6d..c8fbfe6fb 100644
--- a/makefu/2configs/wireguard/server.nix
+++ b/makefu/2configs/wireguard/server.nix
@@ -39,11 +39,13 @@ in { # wireguard server
}
{
# work-router
+ persistentKeepalive = 25;
allowedIPs = [ "10.244.0.5/32" ];
publicKey = "QJMwwYu/92koCASbHnR/vqe/rN00EV6/o7BGwLockDw=";
}
{
# workr
+ persistentKeepalive = 25;
allowedIPs = [ "10.244.0.6/32" ];
publicKey = "OFhCF56BrV9tjqW1sxqXEKH/GdqamUT1SqZYSADl5GA=";
}