Setup Simple Openvpn

Setup Simple OpenVPN server for Linux
Alternatives To Setup Simple Openvpn
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
a month ago5March 08, 202279gpl-3.0Go
A censorship circumvention tool to evade detection by authoritarian state adversaries
Popup Openvpn830
6 years ago16mitShell
Make a self hosted OpenVPN server in 15 minutes
3 years ago6apache-2.0Shell
Recipe to build an OpenVPN image for Docker
Openpyn Nordvpn582
a year ago62October 27, 202174gpl-3.0Python
Easily connect to and switch between, OpenVPN servers hosted by NordVPN on Linux (+patch leakes)
Proxycannon Ng543
4 months ago12Shell
A private botnet using multiple cloud environments for pentesters and red teamers. - Built by the community during a hackathon at the WWHF 2018 security conference
2 months ago25gpl-2.0Shell
Armbian Linux configuration utility
7 months ago27mitShell
A Docker Automated Build Repository for SoftEther VPN
Seedbox From Scratch332
6 years ago20JavaScript
Creating a seedbox on a Linux server
3 years ago70gpl-3.0Python
Qomui (Qt OpenVPN Management UI)
2 years ago32April 27, 202115agpl-3.0Go
OpenVPN Management Server - Effortless and free OpenVPN server administration
Alternatives To Setup Simple Openvpn
Select To Compare

Alternative Project Comparisons


GPLv2 licensed easy-rsa tools and example configuration copied from OpenVPN project, Copyright (C) 2002-2010 OpenVPN Technologies, Inc. See OPENVPN-COPYING.txt

Other parts Copyright 2012-2014 Viljo Viitanen [email protected] and Issac Kim . Licensed under GPLv2, see LICENSE.txt.


Centos 7 and Amazon Linux 2014.09 do not work with this script currently! Centos 6 and Ubuntu 12.04 and 14.04 LTS releases work, possibly some others too.

Installation Instructions

OpenVZ script is for VPSes that use venet0 instead of eth0, normal script uses eth0.

RHEL, CentOS, Fedora

  • Install unzip:
sudo yum -y install unzip
  • Enable the EPEL repository. When writing this, it's as simple as:
sudo rpm -iv

If the link does not work, see instructions at . Also EPEL may already be enabled on your server, so just try to run the setup script. The script will complain if it cannot install the openvpn package.

  • Continue with the common instructions

Debian, Ubuntu, and other Debian based distros

  • Install unzip:
sudo apt-get -y install unzip
  • Continue with the common instructions


  • Make sure you sync your server's clock with NTP or you will be unable to connect to your new VPN server due to your SSL certificates being invalid

  • Download the repo zip file and run the installation script:

cd setup-simple-openvpn-master
sudo sh # or
  • By default, the script uses UDP 1194, but if you want to use a different port run the script with:
sudo sh <type> <port #> <protocol>

where port # can be anything between 1-65535, and protocol is either "tcp" or "udp" (no quotes).

  • Let the script run. Take note if the server external IP address detection is succesful. If it's not, you need to edit the configuration files before using them.

  • Download the configuration files from directory setup-simple-openvpn-master/openvpn.*, there is both a zipped file with all the config files and the plain configuration files

Client Installation

In a nutshell: Install an openvpn client, download the client configuration files from server somehow (e.g. with scp), then just use the configuration files. See Client Installation Guide for detailed instructions for Ubuntu, MacOS and Windows 7 desktops.


  • Add support for other Linux distros

  • Possibly add OS X support

Modifications by Issac Kim

  • Modified for use with OpenVZ VPSes, since they use venet0 instead of eth0.

  • Added two versions of the script, one for protocol venet0 specific (, and eth0 (

  • The script now creates a Linux specific version, since not all distros support the Windows method of pushing DNS configs, and also needs script-security 2.

  • The config files are labeled with the public IP address, and the Linux specific config is labeled with "linux" at the beginning.

Popular Server Projects
Popular Openvpn Projects
Popular Networking Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Openvpn Server