From 63092adfd4810937b7dcb71a08e7274d812d092b Mon Sep 17 00:00:00 2001 From: Shagon94 Date: Fri, 17 May 2019 10:57:53 +0200 Subject: [PATCH] fixed client ips --- wireguard-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index c67ebce..3429658 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -112,7 +112,7 @@ AllowedIPs = $CLIENT_WG_IPV4/32,$CLIENT_WG_IPV6/128" >> "/etc/wireguard/$SERVER_ # Create client file with interface echo "[Interface] PrivateKey = $CLIENT_PRIV_KEY -Address = $CLIENT_WG_IPV4/24,$CLIENT_WG_IPV4/64 +Address = $CLIENT_WG_IPV4/24,$CLIENT_WG_IPV6/64 DNS = $CLIENT_DNS_1,$CLIENT_DNS_2" > "$HOME/$SERVER_WG_NIC-client.conf" # Add the server as a peer to the client