1
0
mirror of synced 2024-11-21 20:46:10 +03:00

Update docs

This commit is contained in:
hwdsl2 2022-05-21 00:07:56 -05:00
parent 0e08b79342
commit 244d6a36f9
2 changed files with 5 additions and 5 deletions

View File

@ -105,8 +105,6 @@ curl -fsSL https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh -o
wget https://get.vpnsetup.net -O vpn.sh && sudo sh vpn.sh
```
安装成功后,你可以在同一台服务器上安装 [OpenVPN](https://github.com/hwdsl2/openvpn-install) 和/或 [WireGuard](https://github.com/hwdsl2/wireguard-install)。这是可选的。
**选项 2:** 编辑脚本并提供你自己的 VPN 登录凭证。
```bash
@ -130,6 +128,8 @@ VPN_PASSWORD='你的VPN密码' \
sh vpn.sh
```
安装成功后,你可以在同一台服务器上安装 [OpenVPN](https://github.com/hwdsl2/openvpn-install) 和/或 [WireGuard](https://github.com/hwdsl2/wireguard-install)。这是可选的。
<details>
<summary>
高级用户可以自定义 IKEv2 选项。这是可选的。

View File

@ -22,7 +22,7 @@ wget https://get.vpnsetup.net -O vpn.sh && sudo sh vpn.sh
Your VPN login details will be randomly generated, and displayed when finished.
After successful installation, you may optionally install [OpenVPN](https://github.com/hwdsl2/openvpn-install) and/or [WireGuard](https://github.com/hwdsl2/wireguard-install) on the same server.
After setup, you may optionally install [OpenVPN](https://github.com/hwdsl2/openvpn-install) and/or [WireGuard](https://github.com/hwdsl2/wireguard-install) on the same server.
<details>
<summary>
@ -105,8 +105,6 @@ To install the VPN, please choose one of the following options:
wget https://get.vpnsetup.net -O vpn.sh && sudo sh vpn.sh
```
After successful installation, you may optionally install [OpenVPN](https://github.com/hwdsl2/openvpn-install) and/or [WireGuard](https://github.com/hwdsl2/wireguard-install) on the same server.
**Option 2:** Edit the script and provide your own VPN credentials.
```bash
@ -130,6 +128,8 @@ VPN_PASSWORD='your_vpn_password' \
sh vpn.sh
```
After setup, you may optionally install [OpenVPN](https://github.com/hwdsl2/openvpn-install) and/or [WireGuard](https://github.com/hwdsl2/wireguard-install) on the same server.
<details>
<summary>
Advanced users can optionally customize IKEv2 options.