Files
wireguard/README.md
Nikita Simonov c190058931 fix typo
2026-05-28 13:09:29 +04:00

384 B

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