openvpn-install

NyrMIT活跃维护

一条命令在 Ubuntu、Debian、CentOS 等主流 Linux 上装好 OpenVPN 服务端,自动生成客户端配置,省去手动配置证书和网络的麻烦。

OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora

暂无版本20,656star +1 / 7 天5,049fork同步于 2026-11-10 17:24 UTC

怎么上手

由 README 提炼,执行前请确认
wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
硬件要求按 README 说明

README 未说明硬件要求,仅要求一台运行所列 Linux 发行版的服务器(VPS 即可)

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

一条命令在主流 Linux 上装好 OpenVPN 服务端,新手也能一分钟搭起自己的 VPN

一条命令在 Ubuntu、Debian、CentOS 等主流 Linux 上装好 OpenVPN 服务端,自动生成客户端配置,省去手动配置证书和网络的麻烦。

核心能力

  • 用交互式脚本自动完成 OpenVPN 服务端安装
  • 支持 Ubuntu、Debian、AlmaLinux、Rocky、CentOS、Fedora
  • 重复运行脚本即可增删用户或彻底卸载 OpenVPN
  • 面向 road warrior 场景,适合个人远程接入

容易踩的坑

脚本需在目标 Linux 服务器上以 root 权限运行;安装过程为交互式,需按提示逐步确认;README 未说明防火墙与端口放行细节,需自行确认

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    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!