From 829962d3f8076a5d3135e6da9cf967c69d92f31a Mon Sep 17 00:00:00 2001 From: randomshell Date: Thu, 3 Sep 2020 04:07:17 +0000 Subject: [PATCH] Overwrite old user files --- wireguard-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index d450d99..5b3ea89 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -286,7 +286,7 @@ DNS = ${CLIENT_DNS_1},${CLIENT_DNS_2} PublicKey = ${SERVER_PUB_KEY} PresharedKey = ${CLIENT_PRE_SHARED_KEY} Endpoint = ${ENDPOINT} -AllowedIPs = 0.0.0.0/0,::/0" >>"${HOME_DIR}/${SERVER_WG_NIC}-client-${CLIENT_NAME}.conf" +AllowedIPs = 0.0.0.0/0,::/0" >"${HOME_DIR}/${SERVER_WG_NIC}-client-${CLIENT_NAME}.conf" # Add the client as a peer to the server echo -e "\n### Client ${CLIENT_NAME}