chore: lots of changes
This commit is contained in:
10
ansible/roles/wireguard/templates/client.conf.j2
Normal file
10
ansible/roles/wireguard/templates/client.conf.j2
Normal file
@@ -0,0 +1,10 @@
|
||||
[Interface]
|
||||
PrivateKey = {{ wg_all_clients_private_keys[item.name] }}
|
||||
Address = {{ item.address }}/32
|
||||
DNS = 1.1.1.1
|
||||
|
||||
[Peer]
|
||||
PublicKey = {{ item.public_key }}
|
||||
Endpoint = {{ wireguard_server_ip }}:{{ wireguard_port }}
|
||||
AllowedIPs = {{ wireguard_network }}, {{ wireguard_server_ip }}/32
|
||||
PersistentKeepalive = 25
|
||||
Reference in New Issue
Block a user