1
0
mirror of synced 2024-11-25 06:16:07 +03:00

Update docs

This commit is contained in:
hwdsl2 2022-10-10 08:54:52 -05:00
parent ed359619bb
commit e12ffa2222
2 changed files with 4 additions and 4 deletions

View File

@ -135,7 +135,7 @@ VPN_PASSWORD='你的VPN密码' \
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)。如果你的服务器运行 CentOS Stream, Rocky Linux 或 AlmaLinux请先安装 OpenVPN/WireGuard然后安装 IPsec VPN。
<details>
<summary>
@ -203,7 +203,7 @@ sudo VPN_PROTECT_CONFIG=yes sh vpn.sh
sudo VPN_SKIP_IKEV2=yes sh vpn.sh
```
(可选)如需指定另外的 DNS 服务器,请参见上面的选项 1。
(可选)如需为 VPN 客户端指定另外的 DNS 服务器,你可以定义 `VPN_DNS_SRV1``VPN_DNS_SRV2`(可选)。有关详细信息,参见上面的选项 1。
然后运行 IKEv2 [辅助脚本](docs/ikev2-howto-zh.md#使用辅助脚本配置-ikev2) 使用自定义选项以交互方式配置 IKEv2:

View File

@ -135,7 +135,7 @@ VPN_PASSWORD='your_vpn_password' \
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.
You may optionally install [WireGuard](https://github.com/hwdsl2/wireguard-install) and/or [OpenVPN](https://github.com/hwdsl2/openvpn-install) on the same server. If your server runs CentOS Stream, Rocky Linux or AlmaLinux, first install OpenVPN/WireGuard, then install the IPsec VPN.
<details>
<summary>
@ -203,7 +203,7 @@ When installing the VPN, you can skip IKEv2 and only install the IPsec/L2TP and
sudo VPN_SKIP_IKEV2=yes sh vpn.sh
```
(Optional) If you want to specify custom DNS server(s), refer to option 1 above.
(Optional) If you want to specify custom DNS server(s) for VPN clients, define `VPN_DNS_SRV1` and optionally `VPN_DNS_SRV2`. See option 1 above for details.
After that, run the IKEv2 [helper script](docs/ikev2-howto.md#set-up-ikev2-using-helper-script) to set up IKEv2 interactively using custom options: