add support for network namespaces and hook scripts
This commit is contained in:
parent
d0ee4e64e9
commit
8e3a6b943e
3 changed files with 34 additions and 10 deletions
|
|
@ -9,5 +9,10 @@ PrivateKey = {{ item.privkey }}
|
|||
# {{ peer.name }}
|
||||
PublicKey = {{ peer.PublicKey }}
|
||||
AllowedIPs = {{ peer.AllowedIPs|d(['0.0.0.0/0', '::/0'])|join(', ') }}
|
||||
{% if peer.Endpoint is defined %}Endpoint = {{ peer.Endpoint }}{% endif %}
|
||||
{% if peer.PresharedKey is defined %}
|
||||
PresharedKey = {{ peer.PresharedKey }}
|
||||
{% endif %}
|
||||
{% if peer.Endpoint is defined %}
|
||||
Endpoint = {{ peer.Endpoint }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue