Files
ansible_uni_deploy/templates/wireguardclient.conf

15 lines
350 B
Plaintext

[Interface]
Address = {{ IP }}/24
DNS = 192.168.5.5
#PostUP = wifi-wireguard -e
#PostDOWN = wifi-wireguard -d
SaveConfig = false
ListenPort = 40041
PrivateKey = {{ priv }}
[Peer]
PublicKey = {{ wireguard_server_pub }}
AllowedIPs = 10.0.0.0/24, 192.168.5.0/24, 192.168.6.0/24, 192.168.100.0/24
Endpoint = 185.61.86.153:51822
PersistentKeepalive = 20