mirror of
https://github.com/hwdsl2/openvpn-install.git
synced 2024-07-01 01:06:07 +02:00
Update docs
This commit is contained in:
parent
dab8eaebcf
commit
14695679ec
21
README-zh.md
21
README-zh.md
|
@ -1,4 +1,4 @@
|
|||
[English](README.md) | [中文](README-zh.md)
|
||||
[English](README.md) | [中文](README-zh.md) | [Vídeo en Español](https://www.youtube.com/watch?v=99qtaJU2E2k)
|
||||
|
||||
# OpenVPN 服务器一键安装脚本
|
||||
|
||||
|
@ -8,18 +8,21 @@
|
|||
|
||||
该脚本可让你在几分钟内建立自己的 VPN 服务器,即使你以前没有使用过 OpenVPN。[OpenVPN](https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4/) 是一种开源、强大且高度灵活的 VPN 协议。
|
||||
|
||||
视频教程(西班牙语):[在 Ubuntu 20.04 上安装 OpenVPN/WireGuard](https://www.youtube.com/watch?v=99qtaJU2E2k)。
|
||||
|
||||
[**» 另见:WireGuard VPN 服务器一键安装脚本**](https://github.com/hwdsl2/wireguard-install/blob/master/README-zh.md)
|
||||
|
||||
## 安装说明
|
||||
|
||||
在你的 Linux 服务器\* 上运行脚本,并按提示操作。
|
||||
|
||||
**选项 1:** 使用默认选项自动安装 OpenVPN。
|
||||
首先下载脚本:
|
||||
|
||||
```bash
|
||||
wget -O openvpn.sh https://get.vpnsetup.net/ovpn
|
||||
```
|
||||
|
||||
**选项 1:** 使用默认选项自动安装 OpenVPN。
|
||||
|
||||
```bash
|
||||
sudo bash openvpn.sh --auto
|
||||
```
|
||||
|
||||
|
@ -41,26 +44,22 @@ sudo bash openvpn.sh --auto
|
|||
**选项 2:** 使用自定义选项进行交互式安装。
|
||||
|
||||
```bash
|
||||
wget -O openvpn.sh https://get.vpnsetup.net/ovpn
|
||||
sudo bash openvpn.sh
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
或者,你也可以使用以下命令。
|
||||
如果无法下载,请点这里。
|
||||
</summary>
|
||||
|
||||
你也可以使用 `curl` 下载:
|
||||
|
||||
```bash
|
||||
# 下载脚本
|
||||
curl -fL -o openvpn.sh https://get.vpnsetup.net/ovpn
|
||||
# 选项 1: 使用默认选项自动安装 OpenVPN
|
||||
sudo bash openvpn.sh --auto
|
||||
# 选项 2: 使用自定义选项进行交互式安装
|
||||
sudo bash openvpn.sh
|
||||
```
|
||||
|
||||
然后按照上面的说明安装。
|
||||
|
||||
或者,你也可以使用这些链接:
|
||||
|
||||
```bash
|
||||
|
|
21
README.md
21
README.md
|
@ -1,4 +1,4 @@
|
|||
[English](README.md) | [中文](README-zh.md)
|
||||
[English](README.md) | [中文](README-zh.md) | [Vídeo en Español](https://www.youtube.com/watch?v=99qtaJU2E2k)
|
||||
|
||||
# OpenVPN Server Auto Setup Script
|
||||
|
||||
|
@ -8,18 +8,21 @@ OpenVPN server installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS, Fed
|
|||
|
||||
This script will let you set up your own VPN server in just a few minutes, even if you haven't used OpenVPN before. [OpenVPN](https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4/) is an open-source, robust and highly flexible VPN protocol.
|
||||
|
||||
Video tutorial (Spanish): [Install OpenVPN/WireGuard on Ubuntu 20.04](https://www.youtube.com/watch?v=99qtaJU2E2k).
|
||||
|
||||
[**» See also: WireGuard VPN Server Auto Setup Script**](https://github.com/hwdsl2/wireguard-install)
|
||||
|
||||
## Installation
|
||||
|
||||
Run the script on your Linux server\* and follow the prompts.
|
||||
|
||||
**Option 1:** Auto install OpenVPN using default options.
|
||||
First, download the script:
|
||||
|
||||
```bash
|
||||
wget -O openvpn.sh https://get.vpnsetup.net/ovpn
|
||||
```
|
||||
|
||||
**Option 1:** Auto install OpenVPN using default options.
|
||||
|
||||
```bash
|
||||
sudo bash openvpn.sh --auto
|
||||
```
|
||||
|
||||
|
@ -41,26 +44,22 @@ For servers with an external firewall (e.g. [EC2](https://docs.aws.amazon.com/AW
|
|||
**Option 2:** Interactive install using custom options.
|
||||
|
||||
```bash
|
||||
wget -O openvpn.sh https://get.vpnsetup.net/ovpn
|
||||
sudo bash openvpn.sh
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Alternative commands.
|
||||
Click here if you are unable to download.
|
||||
</summary>
|
||||
|
||||
You may also use `curl` to download:
|
||||
|
||||
```bash
|
||||
# Download the script
|
||||
curl -fL -o openvpn.sh https://get.vpnsetup.net/ovpn
|
||||
# Option 1: Auto install OpenVPN using default options
|
||||
sudo bash openvpn.sh --auto
|
||||
# Option 2: Interactive install using custom options
|
||||
sudo bash openvpn.sh
|
||||
```
|
||||
|
||||
Then follow the instructions above to install.
|
||||
|
||||
Alternative setup URLs:
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in New Issue
Block a user