mirror of
https://github.com/hwdsl2/wireguard-install.git
synced 2024-07-06 17:22:14 +02:00
Update docs
This commit is contained in:
parent
02e3ddd89d
commit
f2a0815898
16
README-zh.md
16
README-zh.md
@ -12,7 +12,16 @@
|
|||||||
|
|
||||||
## 安装说明
|
## 安装说明
|
||||||
|
|
||||||
在你的 Linux 服务器\* 上运行脚本,并按提示操作:
|
在你的 Linux 服务器\* 上运行脚本,并按提示操作。
|
||||||
|
|
||||||
|
**选项 1:** 使用默认选项自动安装。
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wget https://get.vpnsetup.net/wg -O wireguard.sh
|
||||||
|
sudo bash wireguard.sh --auto
|
||||||
|
```
|
||||||
|
|
||||||
|
**选项 2:** 使用自定义选项进行交互式安装。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://get.vpnsetup.net/wg -O wireguard.sh
|
wget https://get.vpnsetup.net/wg -O wireguard.sh
|
||||||
@ -27,7 +36,11 @@ sudo bash wireguard.sh
|
|||||||
你也可以使用 `curl` 下载:
|
你也可以使用 `curl` 下载:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# 下载脚本
|
||||||
curl -fL https://get.vpnsetup.net/wg -o wireguard.sh
|
curl -fL https://get.vpnsetup.net/wg -o wireguard.sh
|
||||||
|
# 选项 1: 使用默认选项自动安装
|
||||||
|
sudo bash wireguard.sh --auto
|
||||||
|
# 选项 2: 使用自定义选项进行交互式安装
|
||||||
sudo bash wireguard.sh
|
sudo bash wireguard.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -72,6 +85,7 @@ https://gitlab.com/hwdsl2/wireguard-install/-/raw/master/wireguard-install.sh
|
|||||||
|
|
||||||
- 改进了与 Setup IPsec VPN 的兼容性
|
- 改进了与 Setup IPsec VPN 的兼容性
|
||||||
- 改进了脚本的可靠性,用户输入和输出
|
- 改进了脚本的可靠性,用户输入和输出
|
||||||
|
- 支持使用默认选项自动安装
|
||||||
- 支持列出现有的 VPN 客户端
|
- 支持列出现有的 VPN 客户端
|
||||||
- 支持为 VPN 客户端自定义 DNS 服务器
|
- 支持为 VPN 客户端自定义 DNS 服务器
|
||||||
- 优化 `sysctl` 设置以提高 VPN 性能
|
- 优化 `sysctl` 设置以提高 VPN 性能
|
||||||
|
16
README.md
16
README.md
@ -12,7 +12,16 @@ A video tutorial in Spanish is available: [Install OpenVPN/WireGuard on Ubuntu 2
|
|||||||
|
|
||||||
## Installation
|
## 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/wg -O wireguard.sh
|
||||||
|
sudo bash wireguard.sh --auto
|
||||||
|
```
|
||||||
|
|
||||||
|
**Option 2:** Interactive install using custom options.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://get.vpnsetup.net/wg -O wireguard.sh
|
wget https://get.vpnsetup.net/wg -O wireguard.sh
|
||||||
@ -27,7 +36,11 @@ Alternative commands.
|
|||||||
You may also use `curl` to download:
|
You may also use `curl` to download:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# Download the script
|
||||||
curl -fL https://get.vpnsetup.net/wg -o wireguard.sh
|
curl -fL https://get.vpnsetup.net/wg -o wireguard.sh
|
||||||
|
# Option 1: Auto install using default options
|
||||||
|
sudo bash wireguard.sh --auto
|
||||||
|
# Option 2: Interactive install using custom options
|
||||||
sudo bash wireguard.sh
|
sudo bash wireguard.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -72,6 +85,7 @@ List of enhancements over Nyr/wireguard-install.
|
|||||||
|
|
||||||
- Improved compatibility with Setup IPsec VPN
|
- Improved compatibility with Setup IPsec VPN
|
||||||
- Improved script reliability, user input and output
|
- Improved script reliability, user input and output
|
||||||
|
- Supports auto install using default options
|
||||||
- Supports listing existing VPN clients
|
- Supports listing existing VPN clients
|
||||||
- Supports custom DNS server(s) for VPN clients
|
- Supports custom DNS server(s) for VPN clients
|
||||||
- Optimized `sysctl` settings for improved VPN performance
|
- Optimized `sysctl` settings for improved VPN performance
|
||||||
|
Loading…
Reference in New Issue
Block a user