Update comments

This commit is contained in:
Teddysun
2021-05-04 18:42:30 +09:00
parent f8a91eeac2
commit ca9a9c7fe6
2 changed files with 3 additions and 1 deletions

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}