WireGuard ansible role
Configure wireguard
Usega
Configure the role
wireguard_interfaces:
wg01:
interface:
Address: 10.0.0.1
ListenPort: 51820
PrivateKey: "{{ wireguard_private_key }}"
peers:
- AllowedIPs: 10.0.0.0/24
PublicKey: "{{ wireguard_public_key }}"
Endpoint: 1.1.1.1:51820
PersistentKeepalive: 25
Description
Languages
Jinja
100%