add salt/wireguard/wireguard.conf
This commit is contained in:
parent
d08139e4ac
commit
2092b2ae26
12
salt/wireguard/wireguard.conf
Normal file
12
salt/wireguard/wireguard.conf
Normal 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 %}
|
Loading…
Reference in New Issue
Block a user