Update docs
This commit is contained in:
parent
5b69e4b5df
commit
18089a3089
46
README-zh.md
46
README-zh.md
@ -50,6 +50,29 @@ curl -fsSL https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh -o
|
||||
|
||||
<p align="center"><img src="docs/images/script-demo.svg"></p>
|
||||
</details>
|
||||
<details>
|
||||
<summary>
|
||||
可选:IPsec VPN + OpenVPN + WireGuard 服务器。
|
||||
</summary>
|
||||
|
||||
成功安装 IPsec VPN 后,高级用户可以选择在同一台服务器上安装 [OpenVPN](https://openvpn.net) 和/或 [WireGuard](https://www.wireguard.com)。这是可选的。为确保兼容性,必须先安装 IPsec VPN。
|
||||
|
||||
要安装 OpenVPN ([Nyr/openvpn-install](https://github.com/Nyr/openvpn-install)):
|
||||
|
||||
```bash
|
||||
wget https://get.vpnsetup.net/ovpn -nv -O openvpn.sh
|
||||
sudo bash openvpn.sh
|
||||
```
|
||||
|
||||
要安装 WireGuard ([Nyr/wireguard-install](https://github.com/Nyr/wireguard-install)):
|
||||
|
||||
```bash
|
||||
wget https://get.vpnsetup.net/wg -nv -O wireguard.sh
|
||||
sudo bash wireguard.sh
|
||||
```
|
||||
|
||||
这些脚本的任何问题都应该在上面链接的 GitHub 代码库中报告,而不是这里。
|
||||
</details>
|
||||
|
||||
另外,你也可以使用预构建的 [Docker 镜像](https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/README-zh.md)。如需了解其它选项以及客户端配置,请继续阅读以下部分。
|
||||
|
||||
@ -176,6 +199,29 @@ sudo sh vpn.sh
|
||||
|
||||
如果无法下载,打开 [vpnsetup.sh](vpnsetup.sh),然后点击右边的 `Raw` 按钮。按快捷键 `Ctrl/Cmd+A` 全选,`Ctrl/Cmd+C` 复制,然后粘贴到你喜欢的编辑器。
|
||||
</details>
|
||||
<details>
|
||||
<summary>
|
||||
可选:IPsec VPN + OpenVPN + WireGuard 服务器。
|
||||
</summary>
|
||||
|
||||
成功安装 IPsec VPN 后,高级用户可以选择在同一台服务器上安装 [OpenVPN](https://openvpn.net) 和/或 [WireGuard](https://www.wireguard.com)。这是可选的。为确保兼容性,必须先安装 IPsec VPN。
|
||||
|
||||
要安装 OpenVPN ([Nyr/openvpn-install](https://github.com/Nyr/openvpn-install)):
|
||||
|
||||
```bash
|
||||
wget https://get.vpnsetup.net/ovpn -nv -O openvpn.sh
|
||||
sudo bash openvpn.sh
|
||||
```
|
||||
|
||||
要安装 WireGuard ([Nyr/wireguard-install](https://github.com/Nyr/wireguard-install)):
|
||||
|
||||
```bash
|
||||
wget https://get.vpnsetup.net/wg -nv -O wireguard.sh
|
||||
sudo bash wireguard.sh
|
||||
```
|
||||
|
||||
这些脚本的任何问题都应该在上面链接的 GitHub 代码库中报告,而不是这里。
|
||||
</details>
|
||||
|
||||
## 下一步
|
||||
|
||||
|
46
README.md
46
README.md
@ -50,6 +50,29 @@ See the VPN script in action (terminal recording).
|
||||
|
||||
<p align="center"><img src="docs/images/script-demo.svg"></p>
|
||||
</details>
|
||||
<details>
|
||||
<summary>
|
||||
Optional: IPsec VPN + OpenVPN + WireGuard server.
|
||||
</summary>
|
||||
|
||||
After successful installation of the IPsec VPN, advanced users can optionally install [OpenVPN](https://openvpn.net) and/or [WireGuard](https://www.wireguard.com) on the same server. To ensure compatibility, the IPsec VPN must be installed first.
|
||||
|
||||
To install OpenVPN ([Nyr/openvpn-install](https://github.com/Nyr/openvpn-install)):
|
||||
|
||||
```bash
|
||||
wget https://get.vpnsetup.net/ovpn -nv -O openvpn.sh
|
||||
sudo bash openvpn.sh
|
||||
```
|
||||
|
||||
To install WireGuard ([Nyr/wireguard-install](https://github.com/Nyr/wireguard-install)):
|
||||
|
||||
```bash
|
||||
wget https://get.vpnsetup.net/wg -nv -O wireguard.sh
|
||||
sudo bash wireguard.sh
|
||||
```
|
||||
|
||||
Report any issues with these scripts in the linked GitHub repos above, not in this repo.
|
||||
</details>
|
||||
|
||||
A pre-built [Docker image](https://github.com/hwdsl2/docker-ipsec-vpn-server) is also available. For other options and client setup, read the sections below.
|
||||
|
||||
@ -176,6 +199,29 @@ sudo sh vpn.sh
|
||||
|
||||
If you are unable to download, open [vpnsetup.sh](vpnsetup.sh), then click the `Raw` button on the right. Press `Ctrl/Cmd+A` to select all, `Ctrl/Cmd+C` to copy, then paste into your favorite editor.
|
||||
</details>
|
||||
<details>
|
||||
<summary>
|
||||
Optional: IPsec VPN + OpenVPN + WireGuard server.
|
||||
</summary>
|
||||
|
||||
After successful installation of the IPsec VPN, advanced users can optionally install [OpenVPN](https://openvpn.net) and/or [WireGuard](https://www.wireguard.com) on the same server. To ensure compatibility, the IPsec VPN must be installed first.
|
||||
|
||||
To install OpenVPN ([Nyr/openvpn-install](https://github.com/Nyr/openvpn-install)):
|
||||
|
||||
```bash
|
||||
wget https://get.vpnsetup.net/ovpn -nv -O openvpn.sh
|
||||
sudo bash openvpn.sh
|
||||
```
|
||||
|
||||
To install WireGuard ([Nyr/wireguard-install](https://github.com/Nyr/wireguard-install)):
|
||||
|
||||
```bash
|
||||
wget https://get.vpnsetup.net/wg -nv -O wireguard.sh
|
||||
sudo bash wireguard.sh
|
||||
```
|
||||
|
||||
Report any issues with these scripts in the linked GitHub repos above, not in this repo.
|
||||
</details>
|
||||
|
||||
## Next steps
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user