Update README

This commit is contained in:
hwdsl2 2022-05-28 15:19:10 -05:00
parent d4efa1f06e
commit a9c4005b82
2 changed files with 32 additions and 2 deletions

View File

@ -4,7 +4,7 @@
使用 Linux 脚本一键快速搭建自己的 WireGuard VPN 服务器。支持 Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS 和 Fedora 系统。
该脚本可让你在几分钟内建立自己的 VPN 服务器,即使你以前没有使用过 WireGuard。[WireGuard](https://www.wireguard.com) 是一种简单、快速和现代的 VPN其设计目标是易于使用和高性能。
该脚本可让你在几分钟内建立自己的 VPN 服务器,即使你以前没有使用过 WireGuard。[WireGuard](https://www.wireguard.com) 是一种快速且现代的 VPN其设计目标是易于使用和高性能。
[**» 另见OpenVPN 服务器一键安装脚本**](https://github.com/hwdsl2/openvpn-install/blob/master/README-zh.md)
@ -17,6 +17,21 @@ wget https://get.vpnsetup.net/wg -O wireguard.sh
sudo bash wireguard.sh
```
<details>
<summary>
或者,你也可以使用以下命令。
</summary>
你也可以使用 `curl` 下载:
```bash
curl -fL https://get.vpnsetup.net/wg -o wireguard.sh
sudo bash wireguard.sh
```
如果无法下载,打开 [wireguard-install.sh](wireguard-install.sh),然后点击右边的 `Raw` 按钮。按快捷键 `Ctrl/Cmd+A` 全选,`Ctrl/Cmd+C` 复制,然后粘贴到你喜欢的编辑器。
</details>
安装完成后,你可以再次运行脚本来管理用户或卸载 WireGuard。
[WireGuard VPN 客户端](https://www.wireguard.com/install/) 在 Windows, macOS, iOS 和 Android 上可用。

View File

@ -4,7 +4,7 @@
WireGuard VPN server installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora.
This script will let you set up your own VPN server in just a few minutes, even if you haven't used WireGuard before. [WireGuard](https://www.wireguard.com) is a simple, fast and modern VPN designed with the goals of ease of use and high performance.
This script will let you set up your own VPN server in just a few minutes, even if you haven't used WireGuard before. [WireGuard](https://www.wireguard.com) is a fast and modern VPN designed with the goals of ease of use and high performance.
[**&raquo; See also: OpenVPN Server Auto Setup Script**](https://github.com/hwdsl2/openvpn-install)
@ -17,6 +17,21 @@ wget https://get.vpnsetup.net/wg -O wireguard.sh
sudo bash wireguard.sh
```
<details>
<summary>
Alternative one-liner.
</summary>
You may also use `curl` to download:
```bash
curl -fL https://get.vpnsetup.net/wg -o wireguard.sh
sudo bash wireguard.sh
```
If you are unable to download, open [wireguard-install.sh](wireguard-install.sh), then 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>
After setup, you can run the script again to manage users or uninstall WireGuard.
[WireGuard VPN clients](https://www.wireguard.com/install/) are available for Windows, macOS, iOS and Android.