feat(wg_quick): allow specifying an optional PresharedKey

This commit is contained in:
2026-01-25 13:57:27 +01:00
parent acf1e32eca
commit 3c0f9efbb3

View File

@@ -26,4 +26,7 @@ AllowedIPs = {{ _peer.allowed_ips | join(', ') }}
{% if _peer.persistent_keepalive %}
PersistentKeepalive = {{ _peer.persistent_keepalive }}
{% endif %}
{% if 'psk' in _peer %}
PresharedKey = {{ _peer.psk }}
{% endif %}
{% endfor %}