From ee0950ca34f178cf6507b30e256c319be7900a3e Mon Sep 17 00:00:00 2001 From: Bkeenke <128972800+bkeenke@users.noreply.github.com> Date: Thu, 15 Feb 2024 16:09:53 +0300 Subject: [PATCH] Update awg-manager.sh --- awg-manager.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/awg-manager.sh b/awg-manager.sh index 7aef6ca..d4b7d9f 100755 --- a/awg-manager.sh +++ b/awg-manager.sh @@ -188,9 +188,8 @@ function create { cat < "keys/${USER}/${USER}.conf" [Interface] -Address = ${USER_IP} PrivateKey = ${USER_PVT_KEY} -DNS = 8.8.8.8 +Address = ${USER_IP} Jc = 9 Jmin = 50 Jmax = 1000 @@ -204,8 +203,8 @@ H4 = 297399059 [Peer] PublicKey = ${SERVER_PUB_KEY} Endpoint = ${SERVER_ENDPOINT}:${SERVER_PORT} -PersistentKeepalive = 20 AllowedIPs = 0.0.0.0/0 +PersistentKeepalive = 20 EOF add_user_to_server