parent
3f624002a5
commit
31c97f8123
@ -0,0 +1,8 @@
|
||||
---
|
||||
|
||||
- name: generate ling8 client config
|
||||
hosts: dev #localhost
|
||||
tasks:
|
||||
- debug: msg="generate remote laptop config"
|
||||
roles:
|
||||
- { name: wg_vpn }
|
@ -0,0 +1,9 @@
|
||||
[Interface]
|
||||
PrivateKey = {{ wireguard_clients[2]['privkey'] }}
|
||||
Address = {{ wireguard_vpn_network | ipsubnet(32, wireguard_clients[2]['offset']) }}
|
||||
DNS = 1.1.1.1
|
||||
|
||||
[Peer]
|
||||
PublicKey = {{ wireguard_server_pubkey }}
|
||||
Endpoint = vpn.awful.club:51820
|
||||
AllowedIPs = 0.0.0.0/0
|
Loading…
Reference in new issue