mirror of
https://github.com/teddysun/across.git
synced 2025-01-18 13:59:35 +08:00
Update comments
This commit is contained in:
parent
f8a91eeac2
commit
ca9a9c7fe6
@ -46,4 +46,4 @@
|
|||||||
|
|
||||||
## pptp.sh(Deprecated, DO NOT USE)
|
## pptp.sh(Deprecated, DO NOT USE)
|
||||||
|
|
||||||
Copyright (C) 2013-2020 Teddysun <i@teddysun.com>
|
Copyright (C) 2013-2021 Teddysun <i@teddysun.com>
|
||||||
|
@ -660,6 +660,7 @@ EOF
|
|||||||
PublicKey = ${CLIENT_PUBLIC_KEY}
|
PublicKey = ${CLIENT_PUBLIC_KEY}
|
||||||
AllowedIPs = ${CLIENT_WG_IPV4}/32,${CLIENT_WG_IPV6}/128
|
AllowedIPs = ${CLIENT_WG_IPV4}/32,${CLIENT_WG_IPV6}/128
|
||||||
PresharedKey = ${CLIENT_PRE_SHARED_KEY}
|
PresharedKey = ${CLIENT_PRE_SHARED_KEY}
|
||||||
|
PersistentKeepalive = 25
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
cat > ${new_client_if} <<EOF
|
cat > ${new_client_if} <<EOF
|
||||||
@ -680,6 +681,7 @@ EOF
|
|||||||
PublicKey = ${CLIENT_PUBLIC_KEY}
|
PublicKey = ${CLIENT_PUBLIC_KEY}
|
||||||
AllowedIPs = ${CLIENT_WG_IPV4}/32
|
AllowedIPs = ${CLIENT_WG_IPV4}/32
|
||||||
PresharedKey = ${CLIENT_PRE_SHARED_KEY}
|
PresharedKey = ${CLIENT_PRE_SHARED_KEY}
|
||||||
|
PersistentKeepalive = 25
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
chmod 600 ${new_client_if}
|
chmod 600 ${new_client_if}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user