Update docs

This commit is contained in:
hwdsl2
2022-09-19 21:41:25 -05:00
parent f4f7119ae6
commit f36ae201b4
2 changed files with 39 additions and 3 deletions

View File

@@ -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