forked from finallycoffee/base
feat(wg_quick): allow specifying an optional PresharedKey
This commit is contained in:
@@ -26,4 +26,7 @@ AllowedIPs = {{ _peer.allowed_ips | join(', ') }}
|
|||||||
{% if _peer.persistent_keepalive %}
|
{% if _peer.persistent_keepalive %}
|
||||||
PersistentKeepalive = {{ _peer.persistent_keepalive }}
|
PersistentKeepalive = {{ _peer.persistent_keepalive }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if 'psk' in _peer %}
|
||||||
|
PresharedKey = {{ _peer.psk }}
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user