1
0
mirror of synced 2024-11-27 23:36:02 +03:00

Compare commits

..

No commits in common. "14dda28109594fb06c56d6a0a2f49242b1cbf1fb" and "41d37e808ef4ce61bcc76518ff98345da8a040c0" have entirely different histories.

13 changed files with 42 additions and 32 deletions

View File

@ -24,7 +24,7 @@ wget https://get.vpnsetup.net -O vpn.sh && sudo sh vpn.sh
你的 VPN 登录凭证将会被自动随机生成,并在安装完成后显示。 你的 VPN 登录凭证将会被自动随机生成,并在安装完成后显示。
**可选:** 在同一台服务器上安装 [WireGuard](https://github.com/hwdsl2/wireguard-install/blob/master/README-zh.md) 和/或 [OpenVPN](https://github.com/hwdsl2/openvpn-install/blob/master/README-zh.md)。 **可选:** 在同一台服务器上 [安装 WireGuard](https://github.com/hwdsl2/wireguard-install/blob/master/README-zh.md) 和/或 [OpenVPN](https://github.com/hwdsl2/openvpn-install/blob/master/README-zh.md)。
<details> <details>
<summary> <summary>
@ -131,11 +131,11 @@ VPN_PASSWORD='你的VPN密码' \
sh vpn.sh sh vpn.sh
``` ```
安装完成后,你可以选择在同一台服务器上安装 [WireGuard](https://github.com/hwdsl2/wireguard-install/blob/master/README-zh.md) 和/或 [OpenVPN](https://github.com/hwdsl2/openvpn-install/blob/master/README-zh.md)。 安装完成后,你可以在同一台服务器上 [安装 WireGuard](https://github.com/hwdsl2/wireguard-install/blob/master/README-zh.md) 和/或 [OpenVPN](https://github.com/hwdsl2/openvpn-install/blob/master/README-zh.md)。这是可选的。
<details> <details>
<summary> <summary>
高级用户可以选择自定义 IKEv2 选项。 高级用户可以自定义 IKEv2 选项。这是可选的。
</summary> </summary>
高级用户可以指定一个域名作为 IKEv2 服务器地址。这是可选的。该域名必须是一个全称域名(FQDN)。示例如下: 高级用户可以指定一个域名作为 IKEv2 服务器地址。这是可选的。该域名必须是一个全称域名(FQDN)。示例如下:

View File

@ -24,7 +24,7 @@ wget https://get.vpnsetup.net -O vpn.sh && sudo sh vpn.sh
Your VPN login details will be randomly generated, and displayed when finished. Your VPN login details will be randomly generated, and displayed when finished.
**Optional:** Install [WireGuard](https://github.com/hwdsl2/wireguard-install) and/or [OpenVPN](https://github.com/hwdsl2/openvpn-install) on the same server. **Optional:** [Install WireGuard](https://github.com/hwdsl2/wireguard-install) and/or [OpenVPN](https://github.com/hwdsl2/openvpn-install) on the same server.
<details> <details>
<summary> <summary>
@ -131,7 +131,7 @@ VPN_PASSWORD='your_vpn_password' \
sh vpn.sh sh vpn.sh
``` ```
After setup, you may optionally install [WireGuard](https://github.com/hwdsl2/wireguard-install) and/or [OpenVPN](https://github.com/hwdsl2/openvpn-install) on the same server. After setup, you may optionally [install WireGuard](https://github.com/hwdsl2/wireguard-install) and/or [OpenVPN](https://github.com/hwdsl2/openvpn-install) on the same server.
<details> <details>
<summary> <summary>

View File

@ -20,7 +20,7 @@
Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来对 IKEv2 客户端进行身份验证。该方法无需 IPsec PSK, 用户名或密码。它可以用于 Windows, macOS, iOS, Android, Linux 和 RouterOS。 Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来对 IKEv2 客户端进行身份验证。该方法无需 IPsec PSK, 用户名或密码。它可以用于 Windows, macOS, iOS, Android, Linux 和 RouterOS。
默认情况下,运行 VPN 安装脚本时会自动配置 IKEv2。如果你想了解有关配置 IKEv2 的更多信息,请参见 [使用辅助脚本配置 IKEv2](#使用辅助脚本配置-ikev2)。Docker 用户请看 [配置并使用 IKEv2 VPN](https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/README-zh.md#配置并使用-ikev2-vpn)。 默认情况下,运行 VPN 安装脚本时会自动配置 IKEv2。如果你想了解有关配置 IKEv2 的更多信息,请参见 [使用辅助脚本配置 IKEv2](#使用辅助脚本配置-ikev2)。
## 配置 IKEv2 VPN 客户端 ## 配置 IKEv2 VPN 客户端

View File

@ -20,7 +20,7 @@ Modern operating systems support the IKEv2 standard. Internet Key Exchange (IKE
Libreswan can authenticate IKEv2 clients on the basis of X.509 Machine Certificates using RSA signatures. This method does not require an IPsec PSK, username or password. It can be used with Windows, macOS, iOS, Android, Linux and RouterOS. Libreswan can authenticate IKEv2 clients on the basis of X.509 Machine Certificates using RSA signatures. This method does not require an IPsec PSK, username or password. It can be used with Windows, macOS, iOS, Android, Linux and RouterOS.
By default, IKEv2 is automatically set up when running the VPN setup script. If you want to learn more about setting up IKEv2, see [Set up IKEv2 using helper script](#set-up-ikev2-using-helper-script). Docker users, see [Configure and use IKEv2 VPN](https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/README.md#configure-and-use-ikev2-vpn). By default, IKEv2 is automatically set up when running the VPN setup script. If you want to learn more about setting up IKEv2, see [Set up IKEv2 using helper script](#set-up-ikev2-using-helper-script).
## Configure IKEv2 VPN clients ## Configure IKEv2 VPN clients

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 143 KiB

After

Width:  |  Height:  |  Size: 143 KiB

View File

@ -90,8 +90,8 @@ Password: $VPN_PASSWORD
Write these down. You'll need them to connect! Write these down. You'll need them to connect!
Important notes: vpnsetup.net/notes Important notes: vpnsetup.net/notes
VPN client setup: vpnsetup.net/clients Setup VPN clients: vpnsetup.net/clients
================================================ ================================================

View File

@ -27,8 +27,9 @@ YOUR_IPSEC_PSK=''
YOUR_USERNAME='' YOUR_USERNAME=''
YOUR_PASSWORD='' YOUR_PASSWORD=''
# Important notes: vpnsetup.net/notes # Important notes: vpnsetup.net/notes
# VPN client setup: vpnsetup.net/clients # Setup VPN clients: vpnsetup.net/clients
# IKEv2 guide: vpnsetup.net/ikev2
# ===================================================== # =====================================================

View File

@ -107,8 +107,8 @@ cat <<'EOF'
Write these down. You'll need them to connect! Write these down. You'll need them to connect!
Important notes: vpnsetup.net/notes Important notes: vpnsetup.net/notes
VPN client setup: vpnsetup.net/clients Setup VPN clients: vpnsetup.net/clients
================================================== ==================================================

View File

@ -27,8 +27,9 @@ YOUR_IPSEC_PSK=''
YOUR_USERNAME='' YOUR_USERNAME=''
YOUR_PASSWORD='' YOUR_PASSWORD=''
# Important notes: vpnsetup.net/notes # Important notes: vpnsetup.net/notes
# VPN client setup: vpnsetup.net/clients # Setup VPN clients: vpnsetup.net/clients
# IKEv2 guide: vpnsetup.net/ikev2
# ===================================================== # =====================================================

View File

@ -26,8 +26,9 @@ YOUR_IPSEC_PSK=''
YOUR_USERNAME='' YOUR_USERNAME=''
YOUR_PASSWORD='' YOUR_PASSWORD=''
# Important notes: vpnsetup.net/notes # Important notes: vpnsetup.net/notes
# VPN client setup: vpnsetup.net/clients # Setup VPN clients: vpnsetup.net/clients
# IKEv2 guide: vpnsetup.net/ikev2
# ===================================================== # =====================================================
@ -529,8 +530,9 @@ Password: $VPN_PASSWORD
Write these down. You'll need them to connect! Write these down. You'll need them to connect!
Important notes: vpnsetup.net/notes Important notes: vpnsetup.net/notes
VPN client setup: vpnsetup.net/clients Setup VPN clients: vpnsetup.net/clients
IKEv2 guide: vpnsetup.net/ikev2
================================================ ================================================

View File

@ -26,8 +26,9 @@ YOUR_IPSEC_PSK=''
YOUR_USERNAME='' YOUR_USERNAME=''
YOUR_PASSWORD='' YOUR_PASSWORD=''
# Important notes: vpnsetup.net/notes # Important notes: vpnsetup.net/notes
# VPN client setup: vpnsetup.net/clients # Setup VPN clients: vpnsetup.net/clients
# IKEv2 guide: vpnsetup.net/ikev2
# ===================================================== # =====================================================
@ -545,8 +546,9 @@ Password: $VPN_PASSWORD
Write these down. You'll need them to connect! Write these down. You'll need them to connect!
Important notes: vpnsetup.net/notes Important notes: vpnsetup.net/notes
VPN client setup: vpnsetup.net/clients Setup VPN clients: vpnsetup.net/clients
IKEv2 guide: vpnsetup.net/ikev2
================================================ ================================================

View File

@ -28,8 +28,9 @@ YOUR_IPSEC_PSK=''
YOUR_USERNAME='' YOUR_USERNAME=''
YOUR_PASSWORD='' YOUR_PASSWORD=''
# Important notes: vpnsetup.net/notes # Important notes: vpnsetup.net/notes
# VPN client setup: vpnsetup.net/clients # Setup VPN clients: vpnsetup.net/clients
# IKEv2 guide: vpnsetup.net/ikev2
# ===================================================== # =====================================================
@ -685,8 +686,9 @@ Password: $VPN_PASSWORD
Write these down. You'll need them to connect! Write these down. You'll need them to connect!
Important notes: vpnsetup.net/notes Important notes: vpnsetup.net/notes
VPN client setup: vpnsetup.net/clients Setup VPN clients: vpnsetup.net/clients
IKEv2 guide: vpnsetup.net/ikev2
================================================ ================================================

View File

@ -27,8 +27,9 @@ YOUR_IPSEC_PSK=''
YOUR_USERNAME='' YOUR_USERNAME=''
YOUR_PASSWORD='' YOUR_PASSWORD=''
# Important notes: vpnsetup.net/notes # Important notes: vpnsetup.net/notes
# VPN client setup: vpnsetup.net/clients # Setup VPN clients: vpnsetup.net/clients
# IKEv2 guide: vpnsetup.net/ikev2
# ===================================================== # =====================================================
@ -647,8 +648,9 @@ Password: $VPN_PASSWORD
Write these down. You'll need them to connect! Write these down. You'll need them to connect!
Important notes: vpnsetup.net/notes Important notes: vpnsetup.net/notes
VPN client setup: vpnsetup.net/clients Setup VPN clients: vpnsetup.net/clients
IKEv2 guide: vpnsetup.net/ikev2
================================================ ================================================