fix template

This commit is contained in:
Antonio J. Delgado 2023-08-09 14:49:56 +03:00
parent aad339d855
commit 4dab6ecdde

View file

@ -10,7 +10,4 @@ DNS = {% if vpn_dns is defined %}{{ vpn_dns }}{% else %}{{ server_address }}{% e
[Peer] [Peer]
PublicKey = {{ item.PublicKey }} PublicKey = {{ item.PublicKey }}
AllowedIPs = {{ item.AllowedIPs }} AllowedIPs = {{ item.AllowedIPs }}
{% if item.EndPointIP is defined and item.EndPointIP != '' %} {% if item.EndPointIP is defined and item.EndPointIP != '' %}EndPoint = {{ item.EndPointIP }}:{{ item.listenport | default(listenport) }}{% endif %}{% endif %}{% endfor %}
EndPoint = {{ item.EndPointIP }}:{{ item.listenport | default(listenport) }}
{% endif %}
{% endif %}{% endfor %}