Update docs
This commit is contained in:
parent
ef93a9867b
commit
a3dae331b8
12
README-zh.md
12
README-zh.md
@ -64,6 +64,12 @@ wget https://git.io/vpnsetup-amzn -O vpnsetup.sh && sudo sh vpnsetup.sh
|
|||||||
|
|
||||||
你的 VPN 登录凭证将会被自动随机生成,并在安装完成后显示在屏幕上。
|
你的 VPN 登录凭证将会被自动随机生成,并在安装完成后显示在屏幕上。
|
||||||
|
|
||||||
|
在安装成功之后,推荐 <a href="docs/ikev2-howto-zh.md" target="_blank">配置 IKEv2</a>:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wget https://git.io/ikev2setup -O ikev2.sh && sudo bash ikev2.sh --auto
|
||||||
|
```
|
||||||
|
|
||||||
如需了解其它安装选项,以及如何配置 VPN 客户端,请继续阅读以下部分。
|
如需了解其它安装选项,以及如何配置 VPN 客户端,请继续阅读以下部分。
|
||||||
|
|
||||||
<a name="quick-start-note"></a>
|
<a name="quick-start-note"></a>
|
||||||
@ -241,6 +247,12 @@ sh vpnsetup.sh
|
|||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
在安装成功之后,推荐 <a href="docs/ikev2-howto-zh.md" target="_blank">配置 IKEv2</a>:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wget https://git.io/ikev2setup -O ikev2.sh && sudo bash ikev2.sh --auto
|
||||||
|
```
|
||||||
|
|
||||||
**注:** 如果无法通过 `wget` 下载,你也可以打开 <a href="vpnsetup.sh" target="_blank">vpnsetup.sh</a>,<a href="vpnsetup_centos.sh" target="_blank">vpnsetup_centos.sh</a> 或者 <a href="vpnsetup_amzn.sh" target="_blank">vpnsetup_amzn.sh</a>,然后点击右方的 **`Raw`** 按钮。按快捷键 `Ctrl-A` 全选, `Ctrl-C` 复制,然后粘贴到你喜欢的编辑器。
|
**注:** 如果无法通过 `wget` 下载,你也可以打开 <a href="vpnsetup.sh" target="_blank">vpnsetup.sh</a>,<a href="vpnsetup_centos.sh" target="_blank">vpnsetup_centos.sh</a> 或者 <a href="vpnsetup_amzn.sh" target="_blank">vpnsetup_amzn.sh</a>,然后点击右方的 **`Raw`** 按钮。按快捷键 `Ctrl-A` 全选, `Ctrl-C` 复制,然后粘贴到你喜欢的编辑器。
|
||||||
|
|
||||||
## 下一步
|
## 下一步
|
||||||
|
12
README.md
12
README.md
@ -64,6 +64,12 @@ wget https://git.io/vpnsetup-amzn -O vpnsetup.sh && sudo sh vpnsetup.sh
|
|||||||
|
|
||||||
Your VPN login details will be randomly generated, and displayed on the screen when finished.
|
Your VPN login details will be randomly generated, and displayed on the screen when finished.
|
||||||
|
|
||||||
|
After successful installation, it is recommended to <a href="docs/ikev2-howto.md" target="_blank">set up IKEv2</a>:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wget https://git.io/ikev2setup -O ikev2.sh && sudo bash ikev2.sh --auto
|
||||||
|
```
|
||||||
|
|
||||||
For other installation options and how to set up VPN clients, read the sections below.
|
For other installation options and how to set up VPN clients, read the sections below.
|
||||||
|
|
||||||
<a name="quick-start-note"></a>
|
<a name="quick-start-note"></a>
|
||||||
@ -241,6 +247,12 @@ sh vpnsetup.sh
|
|||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
After successful installation, it is recommended to <a href="docs/ikev2-howto.md" target="_blank">set up IKEv2</a>:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wget https://git.io/ikev2setup -O ikev2.sh && sudo bash ikev2.sh --auto
|
||||||
|
```
|
||||||
|
|
||||||
**Note:** If unable to download via `wget`, you may also open <a href="vpnsetup.sh" target="_blank">vpnsetup.sh</a>, <a href="vpnsetup_centos.sh" target="_blank">vpnsetup_centos.sh</a> or <a href="vpnsetup_amzn.sh" target="_blank">vpnsetup_amzn.sh</a>, and click the **`Raw`** button on the right. Press `Ctrl-A` to select all, `Ctrl-C` to copy, then paste into your favorite editor.
|
**Note:** If unable to download via `wget`, you may also open <a href="vpnsetup.sh" target="_blank">vpnsetup.sh</a>, <a href="vpnsetup_centos.sh" target="_blank">vpnsetup_centos.sh</a> or <a href="vpnsetup_amzn.sh" target="_blank">vpnsetup_amzn.sh</a>, and click the **`Raw`** button on the right. Press `Ctrl-A` to select all, `Ctrl-C` to copy, then paste into your favorite editor.
|
||||||
|
|
||||||
## Next steps
|
## Next steps
|
||||||
|
@ -33,10 +33,12 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来
|
|||||||
你可以使用这个辅助脚本来自动地在 VPN 服务器上配置 IKEv2:
|
你可以使用这个辅助脚本来自动地在 VPN 服务器上配置 IKEv2:
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://bit.ly/ikev2setup -O ikev2.sh && sudo bash ikev2.sh
|
wget https://git.io/ikev2setup -O ikev2.sh && sudo bash ikev2.sh --auto
|
||||||
```
|
```
|
||||||
|
|
||||||
该 <a href="../extras/ikev2setup.sh" target="_blank">脚本</a> 必须使用 `bash` 而不是 `sh` 运行。按照脚本的提示配置 IKEv2。在完成之后,请转到 [配置 IKEv2 VPN 客户端](#配置-ikev2-vpn-客户端) 和 [已知问题](#已知问题)。如果要为更多的客户端生成证书,只需重新运行脚本。
|
该 <a href="../extras/ikev2setup.sh" target="_blank">脚本</a> 必须使用 `bash` 而不是 `sh` 运行。以上命令使用自动模式和默认选项运行辅助脚本。如果你想要自定义 IKEv2 安装选项,请在运行脚本时去掉 `--auto` 参数。
|
||||||
|
|
||||||
|
在完成之后,请转到 [配置 IKEv2 VPN 客户端](#配置-ikev2-vpn-客户端)。如果要为更多的客户端生成证书,只需重新运行脚本。
|
||||||
|
|
||||||
## 配置 IKEv2 VPN 客户端
|
## 配置 IKEv2 VPN 客户端
|
||||||
|
|
||||||
|
@ -33,10 +33,12 @@ After following this guide, you will be able to connect to the VPN using IKEv2 i
|
|||||||
You may use this helper script to automatically set up IKEv2 on the VPN server:
|
You may use this helper script to automatically set up IKEv2 on the VPN server:
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://bit.ly/ikev2setup -O ikev2.sh && sudo bash ikev2.sh
|
wget https://git.io/ikev2setup -O ikev2.sh && sudo bash ikev2.sh --auto
|
||||||
```
|
```
|
||||||
|
|
||||||
The <a href="../extras/ikev2setup.sh" target="_blank">script</a> must be run using `bash`, not `sh`. Follow the prompts to set up IKEv2. When finished, continue to [configure IKEv2 VPN clients](#configure-ikev2-vpn-clients) and check [known issues](#known-issues). If you want to generate certificates for additional VPN clients, just run the script again.
|
The <a href="../extras/ikev2setup.sh" target="_blank">script</a> must be run using `bash`, not `sh`. The command above runs the helper script in auto mode, using default options. Remove the `--auto` parameter if you want to customize IKEv2 setup options.
|
||||||
|
|
||||||
|
When finished, continue to [configure IKEv2 VPN clients](#configure-ikev2-vpn-clients). If you want to generate certificates for additional VPN clients, just run the script again.
|
||||||
|
|
||||||
## Configure IKEv2 VPN clients
|
## Configure IKEv2 VPN clients
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user