2018-05-17 15:28:36 +02:00
|
|
|
[Interface]
|
|
|
|
PrivateKey = {{ private_key }}
|
|
|
|
Address = {{ addr }}
|
2018-05-17 16:07:17 +02:00
|
|
|
#DNS = 193.138.219.228
|
2018-05-17 15:28:36 +02:00
|
|
|
|
|
|
|
{%- for peer in peers %}
|
|
|
|
[Peer]
|
|
|
|
PublicKey = {{ peer['public_key'] }}
|
|
|
|
AllowedIPs = 0.0.0.0/0,::0/0
|
|
|
|
Endpoint = {{ peer['endpoint'] }}
|
|
|
|
|
|
|
|
{%- endfor %}
|