mirror of
https://github.com/hwdsl2/openvpn-install.git
synced 2024-07-05 03:05:52 +02:00
Update docs
This commit is contained in:
parent
f4f7119ae6
commit
f36ae201b4
22
README-zh.md
22
README-zh.md
@ -2,10 +2,12 @@
|
||||
|
||||
# OpenVPN 服务器一键安装脚本
|
||||
|
||||
使用 Linux 脚本一键快速搭建自己的 OpenVPN 服务器。支持 Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS, Fedora 和 Amazon Linux 2 系统。
|
||||
使用 Linux 脚本一键快速搭建自己的 OpenVPN 服务器。支持 Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS, Fedora 和 Amazon Linux 2。
|
||||
|
||||
该脚本可让你在几分钟内建立自己的 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)
|
||||
|
||||
## 安装说明
|
||||
@ -29,10 +31,11 @@ curl -fL https://get.vpnsetup.net/ovpn -o openvpn.sh
|
||||
sudo bash openvpn.sh
|
||||
```
|
||||
|
||||
或者,你也可以使用这个链接:
|
||||
或者,你也可以使用这些链接:
|
||||
|
||||
```bash
|
||||
https://github.com/hwdsl2/openvpn-install/raw/master/openvpn-install.sh
|
||||
https://gitlab.com/hwdsl2/openvpn-install/-/raw/master/openvpn-install.sh
|
||||
```
|
||||
|
||||
如果无法下载,打开 [openvpn-install.sh](openvpn-install.sh),然后点击右边的 `Raw` 按钮。按快捷键 `Ctrl/Cmd+A` 全选,`Ctrl/Cmd+C` 复制,然后粘贴到你喜欢的编辑器。
|
||||
@ -60,6 +63,21 @@ https://github.com/hwdsl2/openvpn-install/raw/master/openvpn-install.sh
|
||||
|
||||
此脚本基于 [Nyr 和 contributors](https://github.com/Nyr/openvpn-install) 的出色工作,并进行了增强和更改以与 [Setup IPsec VPN](https://github.com/hwdsl2/setup-ipsec-vpn) 项目兼容。
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
对 Nyr/openvpn-install 的改进列表。
|
||||
</summary>
|
||||
|
||||
- 改进了与 Setup IPsec VPN 的兼容性
|
||||
- 改进了脚本的可靠性,用户输入和输出
|
||||
- 增加了对 Amazon Linux 2 的支持
|
||||
- 支持导出现有 VPN 客户端的配置
|
||||
- 优化 `sysctl` 设置以提高 VPN 性能
|
||||
- 使用 `sudo` 时改进了客户端配置文件的创建
|
||||
|
||||
...和更多!
|
||||
</details>
|
||||
|
||||
## 授权协议
|
||||
|
||||
MIT
|
||||
|
20
README.md
20
README.md
@ -6,6 +6,8 @@ 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.
|
||||
|
||||
A video tutorial in Spanish is available: [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
|
||||
@ -29,10 +31,11 @@ curl -fL https://get.vpnsetup.net/ovpn -o openvpn.sh
|
||||
sudo bash openvpn.sh
|
||||
```
|
||||
|
||||
Alternative setup URL:
|
||||
Alternative setup URLs:
|
||||
|
||||
```bash
|
||||
https://github.com/hwdsl2/openvpn-install/raw/master/openvpn-install.sh
|
||||
https://gitlab.com/hwdsl2/openvpn-install/-/raw/master/openvpn-install.sh
|
||||
```
|
||||
|
||||
If you are unable to download, open [openvpn-install.sh](openvpn-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.
|
||||
@ -60,6 +63,21 @@ Like this project? You can show your support or appreciation.
|
||||
|
||||
This script is based on the great work of [Nyr and contributors](https://github.com/Nyr/openvpn-install), with enhancements and changes for compatibility with the [Setup IPsec VPN](https://github.com/hwdsl2/setup-ipsec-vpn) project.
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
List of enhancements over Nyr/openvpn-install.
|
||||
</summary>
|
||||
|
||||
- Improved compatibility with Setup IPsec VPN
|
||||
- Improved script reliability, user input and output
|
||||
- Added support for Amazon Linux 2
|
||||
- Supports exporting configuration for an existing VPN client
|
||||
- Optimized `sysctl` settings for improved VPN performance
|
||||
- Improved creation of client config files when using `sudo`
|
||||
|
||||
...and more!
|
||||
</details>
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
Loading…
Reference in New Issue
Block a user