Update comments

This commit is contained in:
Teddysun 2021-05-04 18:42:30 +09:00
parent f8a91eeac2
commit ca9a9c7fe6
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D
2 changed files with 3 additions and 1 deletions

View File

@ -46,4 +46,4 @@
## pptp.sh(Deprecated, DO NOT USE)
Copyright (C) 2013-2020 Teddysun <i@teddysun.com>
Copyright (C) 2013-2021 Teddysun <i@teddysun.com>

View File

@ -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} <<EOF
@ -680,6 +681,7 @@ EOF
PublicKey = ${CLIENT_PUBLIC_KEY}
AllowedIPs = ${CLIENT_WG_IPV4}/32
PresharedKey = ${CLIENT_PRE_SHARED_KEY}
PersistentKeepalive = 25
EOF
fi
chmod 600 ${new_client_if}