13 lines
306 B
Text
13 lines
306 B
Text
|
|
[Interface]
|
||
|
|
Address = {{ wireguard_server_address }}
|
||
|
|
ListenPort = {{ wireguard_listen_port }}
|
||
|
|
PrivateKey = {{ (wg_private_key_raw.content | b64decode).strip() }}
|
||
|
|
|
||
|
|
{% for peer in wireguard_peers %}
|
||
|
|
[Peer]
|
||
|
|
# {{ peer.name }}
|
||
|
|
PublicKey = {{ peer.public_key }}
|
||
|
|
AllowedIPs = {{ peer.allowed_ips }}
|
||
|
|
|
||
|
|
{% endfor %}
|