From e12ffa222240dfd2326a31978b51504e4d61d00e Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Mon, 10 Oct 2022 08:54:52 -0500 Subject: [PATCH] Update docs --- README-zh.md | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README-zh.md b/README-zh.md index d97e152..9527ae0 100644 --- a/README-zh.md +++ b/README-zh.md @@ -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。
@@ -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: diff --git a/README.md b/README.md index 06a0c84..5736f2e 100644 --- a/README.md +++ b/README.md @@ -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.
@@ -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: