Files
ansible-pull/roles/server/templates/client_VPN.conf.j2
2022-09-24 20:55:50 +02:00

10 lines
256 B
Django/Jinja

[Interface]
Address = {{ wg_local_ip }}
ListenPort = 41475
PostUp = wg set %i private-key /etc/wireguard/privatekey
[Peer]
PublicKey = {{ wg_server_pubkey }}
Endpoint = {{ wg_endpoint }}
AllowedIPs = 192.168.3.0/24, 192.168.1.0/24
PersistentKeepalive = 25