stuff
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
[Interface]
|
||||
PrivateKey = {{ lookup('file', wireguard_client_dir ~ '/' ~ item.item.name ~ '.private') }}
|
||||
Address = {{ item.item.ip }}/32
|
||||
|
||||
[Peer]
|
||||
PublicKey = {{ wireguard_server_public_key }}
|
||||
PresharedKey = {{ lookup('file', wireguard_client_dir ~ '/' ~ item.item.name ~ '.psk.private') }}
|
||||
Endpoint = {{ wireguard_ingress_endpoint }}:{{ wireguard_ingress_port }}
|
||||
AllowedIPs = {{ item.item.allowed_ips | default(wireguard_client_allowed_ips) }}
|
||||
PersistentKeepalive = 25
|
||||
Reference in New Issue
Block a user