1
0
mirror of synced 2024-11-23 21:36:09 +03:00

Compare commits

..

2 Commits

Author SHA1 Message Date
hwdsl2
6d6ed6916e Update docs 2022-05-18 08:56:49 -05:00
hwdsl2
18089a3089 Update docs 2022-05-18 01:59:40 -05:00
2 changed files with 92 additions and 0 deletions

View File

@ -43,6 +43,29 @@ curl -fsSL https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh -o
</details>
<details>
<summary>
可选IPsec VPN + OpenVPN + WireGuard 服务器。
</summary>
成功安装 IPsec VPN 后,高级用户可以选择在同一台服务器上安装 [OpenVPN](https://openvpn.net) 和/或 [WireGuard](https://www.wireguard.com)。这是可选的。为确保兼容性,必须先安装 IPsec VPN。
要安装 OpenVPN:
```bash
wget https://get.vpnsetup.net/ovpn -nv -O openvpn.sh
sudo bash openvpn.sh
```
要安装 WireGuard
```bash
wget https://get.vpnsetup.net/wg -nv -O wireguard.sh
sudo bash wireguard.sh
```
这些脚本分别来自 [Nyr/openvpn-install](https://github.com/Nyr/openvpn-install) 和 [Nyr/wireguard-install](https://github.com/Nyr/wireguard-install)。任何相关问题都应该在链接的 GitHub 代码库中报告,而不是这里。
</details>
<details>
<summary>
查看 VPN 脚本的示例输出(终端记录)。
</summary>
@ -157,6 +180,29 @@ sudo VPN_PROTECT_CONFIG=yes sh vpn.sh
</details>
<details>
<summary>
可选IPsec VPN + OpenVPN + WireGuard 服务器。
</summary>
成功安装 IPsec VPN 后,高级用户可以选择在同一台服务器上安装 [OpenVPN](https://openvpn.net) 和/或 [WireGuard](https://www.wireguard.com)。这是可选的。为确保兼容性,必须先安装 IPsec VPN。
要安装 OpenVPN:
```bash
wget https://get.vpnsetup.net/ovpn -nv -O openvpn.sh
sudo bash openvpn.sh
```
要安装 WireGuard
```bash
wget https://get.vpnsetup.net/wg -nv -O wireguard.sh
sudo bash wireguard.sh
```
这些脚本分别来自 [Nyr/openvpn-install](https://github.com/Nyr/openvpn-install) 和 [Nyr/wireguard-install](https://github.com/Nyr/wireguard-install)。任何相关问题都应该在链接的 GitHub 代码库中报告,而不是这里。
</details>
<details>
<summary>
如果无法下载,请点这里。
</summary>

View File

@ -43,6 +43,29 @@ If you are unable to download, open [vpnsetup.sh](vpnsetup.sh), then click the `
</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:
```bash
wget https://get.vpnsetup.net/ovpn -nv -O openvpn.sh
sudo bash openvpn.sh
```
To install WireGuard:
```bash
wget https://get.vpnsetup.net/wg -nv -O wireguard.sh
sudo bash wireguard.sh
```
These scripts are from [Nyr/openvpn-install](https://github.com/Nyr/openvpn-install) and [Nyr/wireguard-install](https://github.com/Nyr/wireguard-install), respectively. Report any related issues to the linked GitHub repos, not here.
</details>
<details>
<summary>
See the VPN script in action (terminal recording).
</summary>
@ -157,6 +180,29 @@ sudo VPN_PROTECT_CONFIG=yes sh vpn.sh
</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:
```bash
wget https://get.vpnsetup.net/ovpn -nv -O openvpn.sh
sudo bash openvpn.sh
```
To install WireGuard:
```bash
wget https://get.vpnsetup.net/wg -nv -O wireguard.sh
sudo bash wireguard.sh
```
These scripts are from [Nyr/openvpn-install](https://github.com/Nyr/openvpn-install) and [Nyr/wireguard-install](https://github.com/Nyr/wireguard-install), respectively. Report any related issues to the linked GitHub repos, not here.
</details>
<details>
<summary>
Click here if you are unable to download.
</summary>