Update docs

This commit is contained in:
hwdsl2
2022-10-01 15:36:45 -05:00
parent bd1c572861
commit be201f6445
2 changed files with 30 additions and 2 deletions

View File

@@ -12,7 +12,16 @@
## 安装说明
在你的 Linux 服务器\* 上运行脚本,并按提示操作
在你的 Linux 服务器\* 上运行脚本,并按提示操作
**选项 1:** 使用默认选项自动安装。
```bash
wget https://get.vpnsetup.net/ovpn -O openvpn.sh
sudo bash openvpn.sh --auto
```
**选项 2:** 使用自定义选项进行交互式安装。
```bash
wget https://get.vpnsetup.net/ovpn -O openvpn.sh
@@ -27,7 +36,11 @@ sudo bash openvpn.sh
你也可以使用 `curl` 下载:
```bash
# 下载脚本
curl -fL https://get.vpnsetup.net/ovpn -o openvpn.sh
# 选项 1: 使用默认选项自动安装
sudo bash openvpn.sh --auto
# 选项 2: 使用自定义选项进行交互式安装
sudo bash openvpn.sh
```
@@ -72,6 +85,7 @@ https://gitlab.com/hwdsl2/openvpn-install/-/raw/master/openvpn-install.sh
- 改进了与 Setup IPsec VPN 的兼容性
- 改进了脚本的可靠性,用户输入和输出
- 支持使用默认选项自动安装
- 增加了对 Amazon Linux 2 的支持
- 支持导出现有 VPN 客户端的配置
- 支持列出现有的 VPN 客户端

View File

@@ -12,7 +12,16 @@ A video tutorial in Spanish is available: [Install OpenVPN/WireGuard on Ubuntu 2
## Installation
Run the script on your Linux server\* and follow the prompts:
Run the script on your Linux server\* and follow the prompts.
**Option 1:** Auto install using default options.
```bash
wget https://get.vpnsetup.net/ovpn -O openvpn.sh
sudo bash openvpn.sh --auto
```
**Option 2:** Interactive install using custom options.
```bash
wget https://get.vpnsetup.net/ovpn -O openvpn.sh
@@ -27,7 +36,11 @@ Alternative commands.
You may also use `curl` to download:
```bash
# Download the script
curl -fL https://get.vpnsetup.net/ovpn -o openvpn.sh
# Option 1: Auto install using default options
sudo bash openvpn.sh --auto
# Option 2: Interactive install using custom options
sudo bash openvpn.sh
```
@@ -72,6 +85,7 @@ List of enhancements over Nyr/openvpn-install.
- Improved compatibility with Setup IPsec VPN
- Improved script reliability, user input and output
- Supports auto install using default options
- Added support for Amazon Linux 2
- Supports exporting configuration for an existing VPN client
- Supports listing existing VPN clients