diff --git a/README.md b/README.md index f9ebf6e..fc3e1ce 100644 --- a/README.md +++ b/README.md @@ -46,4 +46,4 @@ ## pptp.sh(Deprecated, DO NOT USE) -Copyright (C) 2013-2020 Teddysun +Copyright (C) 2013-2021 Teddysun diff --git a/wireguard.sh b/wireguard.sh index 9a60cda..6c3ea27 100644 --- a/wireguard.sh +++ b/wireguard.sh @@ -660,6 +660,7 @@ EOF PublicKey = ${CLIENT_PUBLIC_KEY} AllowedIPs = ${CLIENT_WG_IPV4}/32,${CLIENT_WG_IPV6}/128 PresharedKey = ${CLIENT_PRE_SHARED_KEY} +PersistentKeepalive = 25 EOF else cat > ${new_client_if} <