wg-aws/roles/wireguard_server/templates/wg0-client-pihole.conf

12 lines
310 B
Plaintext
Raw Normal View History

[Interface]
Address = {{ vpn_network }}.{{item|int + 1}}/32
DNS = 10.100.100.1
PrivateKey = {{ private_key_files.results[item|int].stdout }}
MTU = 1500
[Peer]
PublicKey = {{ public_key_files.results[0].stdout }}
AllowedIPs = 0.0.0.0/0
Endpoint = {{ ansible_ssh_host }}:{{ vpn_port }}
PersistentKeepalive = 0