脚本需在目标 Linux 服务器上以 root 权限运行;安装过程为交互式,需按提示逐步确认;README 未说明防火墙与端口放行细节,需自行确认
openvpn-install
NyrMIT活跃维护一条命令在 Ubuntu、Debian、CentOS 等主流 Linux 上装好 OpenVPN 服务端,自动生成客户端配置,省去手动配置证书和网络的麻烦。
OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.shREADME 未说明硬件要求,仅要求一台运行所列 Linux 发行版的服务器(VPS 即可)
一条命令在主流 Linux 上装好 OpenVPN 服务端,新手也能一分钟搭起自己的 VPN
一条命令在 Ubuntu、Debian、CentOS 等主流 Linux 上装好 OpenVPN 服务端,自动生成客户端配置,省去手动配置证书和网络的麻烦。
核心能力
- 用交互式脚本自动完成 OpenVPN 服务端安装
- 支持 Ubuntu、Debian、AlmaLinux、Rocky、CentOS、Fedora
- 重复运行脚本即可增删用户或彻底卸载 OpenVPN
- 面向 road warrior 场景,适合个人远程接入
容易踩的坑
暂无 release 数据(可能没有发版,或尚未同步)。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
New: wireguard-install is also available.
openvpn-install
OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora.
This script will let you set up your own VPN server in no more than a minute, even if you haven't used OpenVPN before. It has been designed to be as unobtrusive and universal as possible.
Installation
Run the script and follow the assistant:
wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
Once it ends, you can run it again to add more users, remove some of them or even completely uninstall OpenVPN.
I want to run my own VPN but don't have a server for that
You can get a VPS from just 2 EUR or 2 USD per month at AlphaVPS.
Donations
If you want to show your appreciation, you can donate via PayPal or cryptocurrency. Thanks!