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

12 lines
294 B
Plaintext

# {{ ansible_managed }}
[Interface]
Address = 10.0.0.199/32
PrivateKey = {{ cockpit_backend_privkey }}
DNS = 1.1.1.1
[Peer]
PublicKey = {{ vpn_server_pubkey }}
Endpoint = {{ domain_name }}:51820
AllowedIPs = 10.0.0.1/32 # Only any packets to/from our Proxy server will be tunneled by the VPN