From a72bfae9057b8ad17f0c3770a275a86d7c662344 Mon Sep 17 00:00:00 2001 From: liberodark Date: Wed, 18 Dec 2019 00:10:34 +0100 Subject: [PATCH] Update wireguard-install.sh --- wireguard-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index eb65b39..045b4cc 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -151,7 +151,8 @@ 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 -echo "[Peer] +echo " +[Peer] PublicKey = $SERVER_PUB_KEY Endpoint = $ENDPOINT AllowedIPs = 0.0.0.0/0,::/0" >> "$HOME/$SERVER_WG_NIC-client.conf"