diff --git a/ansible/roles/gateway/files/wireguard-client.conf b/ansible/roles/gateway/files/wireguard-client.conf index ce39227..93e5d6c 100644 --- a/ansible/roles/gateway/files/wireguard-client.conf +++ b/ansible/roles/gateway/files/wireguard-client.conf @@ -5,6 +5,6 @@ PrivateKey = {{ item.value.private_key }} [Peer] PublicKey = {{ wireguard.server.public_key }} Endpoint = {{ wireguard.public_ip }}:{{ wireguard.port }} -AllowedIPs = {{ item.value.ip }}/32 +AllowedIPs = {{ wireguard.cidr }} PersistentKeepalive = 25