openvpn-install README

The project's README from github.com/Nyr/openvpn-install. As one markdown file: README.md.

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!

Sponsors

VPN without the terminal? Point-and-click deployment + free VPS, live in 3 min. Try free, then $1/mo — Clever VPN.

openvpn-install (Nyr/openvpn-install)

ubuntu
Searching Database…

What is this?A shell script that automatically sets up your own OpenVPN road warrior VPN server on Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS or Fedora.
Is this a standalone tool or a library I import?It is a standalone bash script you run directly on a server, not a library or app package.
How do I get the VPN server running?Download and run the script on your server and follow the interactive assistant; running it again lets you add or remove users or uninstall OpenVPN.
Do I need prior OpenVPN experience or a specific Linux setup first?No prior OpenVPN knowledge is needed, but you need a server running one of the supported distros (Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS or Fedora).
What if I don't already have a server to run this on?The README suggests getting a cheap VPS, mentioning options from about 2 EUR/USD per month, since the script needs a server to run on.
Which operating systems does it support?It supports Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora.
Is there an alternative if I'd rather use WireGuard?Yes, the same author maintains a companion project called wireguard-install for setting up a WireGuard VPN server instead.
Can I manage multiple VPN users with this script?Yes, re-running the script after initial setup lets you add more users, remove existing ones, or fully uninstall OpenVPN.
Why is it called a road warrior installer?It is designed for the classic road warrior VPN setup, where remote clients connect securely to a central server rather than site-to-site routing between networks.
Creator
Nyr
Size
0.2 MB
Stars
20.6K
Updated
CommitSep 22
Age
13y
Commits · 90 Days