Update docs
This commit is contained in:
parent
a1ab13d9a9
commit
30c79817d0
28
README-zh.md
28
README-zh.md
@ -39,14 +39,21 @@ wget https://git.io/vpnsetup -qO vpn.sh && sudo sh vpn.sh
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
或者,你也可以使用 curl 下载。
|
||||
或者,你也可以使用这些命令。
|
||||
</summary>
|
||||
|
||||
你也可以使用 `curl` 下载:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://git.io/vpnsetup -o vpn.sh && sudo sh vpn.sh
|
||||
```
|
||||
</details>
|
||||
|
||||
或者,你也可以使用这个链接:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh -o vpn.sh && sudo sh vpn.sh
|
||||
```
|
||||
</details>
|
||||
<details>
|
||||
<summary>
|
||||
查看 VPN 脚本的示例输出(终端记录)。
|
||||
@ -173,6 +180,13 @@ curl -fsSL https://git.io/vpnsetup -o vpn.sh
|
||||
sudo sh vpn.sh
|
||||
```
|
||||
|
||||
或者,你也可以使用这个链接:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh -o vpn.sh
|
||||
sudo sh vpn.sh
|
||||
```
|
||||
|
||||
或者,打开 [vpnsetup.sh](vpnsetup.sh) 并点击右方的 `Raw` 按钮。按快捷键 `Ctrl/Cmd+A` 全选,`Ctrl/Cmd+C` 复制,然后粘贴到你喜欢的编辑器。
|
||||
</details>
|
||||
|
||||
@ -214,6 +228,16 @@ sudo sh vpn.sh
|
||||
wget https://git.io/vpnupgrade -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`。
|
||||
|
28
README.md
28
README.md
@ -39,14 +39,21 @@ Your VPN login details will be randomly generated, and displayed when finished.
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Alternative one-liner using curl.
|
||||
Alternative one-liners.
|
||||
</summary>
|
||||
|
||||
You may also use `curl` to download:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://git.io/vpnsetup -o vpn.sh && sudo sh vpn.sh
|
||||
```
|
||||
</details>
|
||||
|
||||
Alternative setup URL:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh -o vpn.sh && sudo sh vpn.sh
|
||||
```
|
||||
</details>
|
||||
<details>
|
||||
<summary>
|
||||
See the VPN script in action (terminal recording).
|
||||
@ -173,6 +180,13 @@ curl -fsSL https://git.io/vpnsetup -o vpn.sh
|
||||
sudo sh vpn.sh
|
||||
```
|
||||
|
||||
Alternative setup URL:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh -o vpn.sh
|
||||
sudo sh vpn.sh
|
||||
```
|
||||
|
||||
Alternatively, open [vpnsetup.sh](vpnsetup.sh) and 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>
|
||||
|
||||
@ -214,6 +228,16 @@ Use this one-liner to update [Libreswan](https://libreswan.org) ([changelog](htt
|
||||
wget https://git.io/vpnupgrade -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.
|
||||
|
Loading…
Reference in New Issue
Block a user