diff --git a/docs/ikev2-howto-zh.md b/docs/ikev2-howto-zh.md index f0c9b55..86bc79a 100644 --- a/docs/ikev2-howto-zh.md +++ b/docs/ikev2-howto-zh.md @@ -51,10 +51,17 @@ wget https://git.io/ikev2setup -O ikev2setup.sh && sudo bash ikev2setup.sh **注:** 另外,在这里你也可以指定 VPN 服务器的域名。例如: `PUBLIC_IP=myvpn.example.com`。 -1. 在 `/etc/ipsec.conf` 文件中添加一个新的 IKEv2 连接: +1. 添加一个新的 IKEv2 连接: ```bash - cat >> /etc/ipsec.conf <> /etc/ipsec.conf + echo 'include /etc/ipsec.d/*.conf' >> /etc/ipsec.conf + fi + ``` + + ```bash + cat > /etc/ipsec.d/ikev2.conf <> /etc/ipsec.conf <> /etc/ipsec.d/ikev2.conf <> /etc/ipsec.conf <> /etc/ipsec.d/ikev2.conf <> /etc/ipsec.conf <> /etc/ipsec.d/ikev2.conf <> /etc/ipsec.conf <> /etc/ipsec.conf + echo 'include /etc/ipsec.d/*.conf' >> /etc/ipsec.conf + fi + ``` + + ```bash + cat > /etc/ipsec.d/ikev2.conf <> /etc/ipsec.conf <> /etc/ipsec.d/ikev2.conf <> /etc/ipsec.conf <> /etc/ipsec.d/ikev2.conf <> /etc/ipsec.conf <> /etc/ipsec.d/ikev2.conf <