From 26090ded9d32f90f6b7b305dbdd8759b5fbbbd2c Mon Sep 17 00:00:00 2001 From: Teddysun Date: Mon, 5 Apr 2021 13:55:44 +0900 Subject: [PATCH] Update comments Added PersistentKeepalive option --- wireguard.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wireguard.sh b/wireguard.sh index 6d79182..9a60cda 100644 --- a/wireguard.sh +++ b/wireguard.sh @@ -453,6 +453,7 @@ PrivateKey = ${SERVER_PRIVATE_KEY} PublicKey = ${CLIENT_PUBLIC_KEY} AllowedIPs = ${CLIENT_WG_IPV4}/32,${CLIENT_WG_IPV6}/128 PresharedKey = ${CLIENT_PRE_SHARED_KEY} +PersistentKeepalive = 25 EOF else cat > /etc/wireguard/${SERVER_WG_NIC}.conf <