From ec478c3cf5917ed367a261309346419b67419f78 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 19 Jan 2020 17:59:36 +0000 Subject: [PATCH] Fix client config --- ansible/roles/gateway/files/wireguard-client.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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