endpoint for additional wireguard backbone peers is now optional

master
Niklas Yann Wettengel 7 years ago
parent 4364aab1a9
commit 2354d5ad3e

@ -5,5 +5,5 @@ PrivateKey = {{ wireguard_bb_priv_key }}
[Peer]
PublicKey = {{ item.pub_key }}
AllowedIPs = 0.0.0.0/0,::/0
Endpoint = [{{ item.endpoint }}]:{{ wireguard_bb_port }}
{% if item.endpoint is defined %}Endpoint = [{{ item.endpoint }}]:{{ wireguard_bb_port }}{% endif %}
PersistentKeepalive = 30

Loading…
Cancel
Save