Client-Ansible-Setup/root_resources/etc/wireguard/wg0.conf

12 lines
333 B
Plaintext
Executable File

# {{ ansible_managed }}
[Interface]
Address = 10.0.0.2/32
PrivateKey = {{ backend_server_privkey }}
DNS = 1.1.1.1
[Peer]
PublicKey = {{ vpn_server_pubkey }}
Endpoint = {{ domain_name }}:51820
AllowedIPs = 10.0.0.1/32, 11.5.0.2/32 # Only any packets to/from our VPN/Proxy server or all Docker containers will be tunneled by the VPN