From 7d175d978070dcf84c897c5bcadcadd1610e1d21 Mon Sep 17 00:00:00 2001 From: Jack Ivanov Date: Wed, 29 Aug 2018 13:16:36 +0300 Subject: [PATCH] Enable PersistentKeepalive for NAT and Firewall Traversal Persistence --- roles/wireguard/templates/client.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/wireguard/templates/client.conf.j2 b/roles/wireguard/templates/client.conf.j2 index f75f0f43..6432e0ad 100644 --- a/roles/wireguard/templates/client.conf.j2 +++ b/roles/wireguard/templates/client.conf.j2 @@ -9,3 +9,4 @@ DNS = {{ wireguard_dns_servers }} PublicKey = {{ lookup('file', wireguard_config_path + '/public/' + IP_subject_alt_name) }} AllowedIPs = 0.0.0.0/0, ::/0 Endpoint = {{ IP_subject_alt_name }}:{{ wireguard_port }} +PersistentKeepalive = 25