use listen port

This commit is contained in:
Antonio J. Delgado 2022-11-04 18:54:06 +02:00
parent 85ae1b531d
commit 551ac6fc01

View file

@ -11,6 +11,6 @@ ListenPort = {{ listenport }}
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 }}:{{ listenport }} EndPoint = {{ item.EndPointIP }}:{{ item.listenport | default(listenport) }}
{% endif %} {% endif %}
{% endif %}{% endfor %} {% endif %}{% endfor %}