fix template

This commit is contained in:
Antonio J. Delgado 2023-08-09 14:57:22 +03:00
parent e05ab76cb2
commit 888bad27dc

View file

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