1
0
mirror of synced 2024-11-22 04:56:03 +03:00

Update docs

This commit is contained in:
hwdsl2 2022-04-30 22:50:09 -05:00
parent 734931794d
commit 7ee528ede4
4 changed files with 42 additions and 0 deletions

View File

@ -228,6 +228,16 @@ sudo sh vpn.sh
wget https://get.vpnsetup.net/upg -qO vpnup.sh && sudo sh vpnup.sh
```
<details>
<summary>
或者,你也可以使用以下命令。
</summary>
```bash
wget https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnupgrade.sh -qO vpnup.sh && sudo sh vpnup.sh
```
</details>
当前支持的 Libreswan 最新版本是 `4.6`。查看已安装版本:`ipsec --version`。
**注:** `xl2tpd` 可以使用系统的软件包管理器进行更新,例如 Ubuntu/Debian 上的 `apt-get`

View File

@ -228,6 +228,16 @@ Use this one-liner to update [Libreswan](https://libreswan.org) ([changelog](htt
wget https://get.vpnsetup.net/upg -qO vpnup.sh && sudo sh vpnup.sh
```
<details>
<summary>
Alternative one-liner.
</summary>
```bash
wget https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnupgrade.sh -qO vpnup.sh && sudo sh vpnup.sh
```
</details>
The latest supported Libreswan version is `4.6`. Check installed version: `ipsec --version`.
**Note:** `xl2tpd` can be updated using your system's package manager, such as `apt-get` on Ubuntu/Debian.

View File

@ -14,6 +14,17 @@ wget -nv -O vpnunst.sh https://get.vpnsetup.net/unst
sudo bash vpnunst.sh
```
<details>
<summary>
或者,你也可以使用以下命令。
</summary>
```bash
wget -nv -O vpnunst.sh https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnuninstall.sh
sudo bash vpnunst.sh
```
</details>
在完成后重启你的服务器。
## 手动卸载 VPN

View File

@ -14,6 +14,17 @@ wget -nv -O vpnunst.sh https://get.vpnsetup.net/unst
sudo bash vpnunst.sh
```
<details>
<summary>
Alternative script URL.
</summary>
```bash
wget -nv -O vpnunst.sh https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnuninstall.sh
sudo bash vpnunst.sh
```
</details>
When finished, reboot your server.
## Manually uninstall the VPN