polycule-network/templates/wg-pn.conf.j2

14 lines
325 B
Text
Raw Normal View History

2024-05-02 09:31:34 +00:00
[Interface]
PrivateKey = {{ private_key }}
ListenPort = {{ listen_port }}
Address = {{ wireguard_address }}
{% for peer in peers %}
[Peer]
PublicKey = {{ peer.public_key }}
{%- if peer.endpoint is defined %}
Endpoint = {{ peer.endpoint }}
{%- endif %}
AllowedIPs = {{ peer.allowed_ips}}
PersistentKeepalive = 25
{% endfor %}