add salt/wireguard/wireguard.conf

This commit is contained in:
Astro 2018-05-17 15:28:36 +02:00
parent d08139e4ac
commit 2092b2ae26
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[Interface]
PrivateKey = {{ private_key }}
Address = {{ addr }}
DNS = 193.138.219.228
{%- for peer in peers %}
[Peer]
PublicKey = {{ peer['public_key'] }}
AllowedIPs = 0.0.0.0/0,::0/0
Endpoint = {{ peer['endpoint'] }}
{%- endfor %}