diff --git a/templates/wireguard.conf.j2 b/templates/wireguard.conf.j2 index 89a905a..f0059a8 100644 --- a/templates/wireguard.conf.j2 +++ b/templates/wireguard.conf.j2 @@ -15,4 +15,7 @@ PresharedKey = {{ peer.PresharedKey }} {% if peer.Endpoint is defined %} Endpoint = {{ peer.Endpoint }} {% endif %} +{% if peer.PersistentKeepalive is defined %} +PersistentKeepalive = {{ peer.PersistentKeepalive }} +{% endif %} {% endfor %}