3
0
Fork 0

wg.conf: wireguard_unmanaged_hosts if

This commit is contained in:
juju4 2020-04-04 15:34:03 -04:00
parent ce004e8bc8
commit d1942b7ffd
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,7 @@ SaveConfig = true
{% endif %}
{% endif %}
{% endfor %}
{# unmanaged hosts #}
{% if wireguard_unmanaged_hosts is defined %}
{% for hostdata in uh_public_key.results %}
[Peer]
@ -76,3 +76,4 @@ SaveConfig = true
PublicKey = {{ hostdata.stdout }}
AllowedIPs = {{ hostdata.item.allowed_ips}}
{% endfor %}
{% endif %}