From be201f64459a6e8e426d03f0fa87baf6fcc9cb32 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sat, 1 Oct 2022 15:36:45 -0500 Subject: [PATCH] Update docs --- README-zh.md | 16 +++++++++++++++- README.md | 16 +++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/README-zh.md b/README-zh.md index 1b4cbcc..8862df2 100644 --- a/README-zh.md +++ b/README-zh.md @@ -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 客户端 diff --git a/README.md b/README.md index ef751db..0bbf186 100644 --- a/README.md +++ b/README.md @@ -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