mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/wireguard: small update to mimic default demo configuration
This commit is contained in:
+1
-1
@@ -32,10 +32,10 @@ PublicKey = {{ peerlist2_data.pubkey }}
|
||||
{% if peerlist2_data.psk|default('') != '' %}
|
||||
PresharedKey = {{ peerlist2_data.psk }}
|
||||
{% endif %}
|
||||
AllowedIPs = {{ peerlist2_data.tunneladdress }}
|
||||
{% if peerlist2_data.serveraddress|default('') != '' %}
|
||||
Endpoint = {{ peerlist2_data.serveraddress }}:{{ peerlist2_data.serverport }}
|
||||
{% endif %}
|
||||
AllowedIPs = {{ peerlist2_data.tunneladdress }}
|
||||
{% if peerlist2_data.keepalive|default('') != '' %}
|
||||
PersistentKeepalive = {{ peerlist2_data.keepalive }}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user