Installing A OpenVPN Server Easily with Nyr's Road Warrior Script

OpenVPN is an open-source software application that implements virtual private network techniques to create secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It uses a custom security protocol that utilizes SSL/TLS for key exchange.

OpenVPN is also a pain in the behind to set up for inexperienced users, so Nyr wrote a script to automagically configure a basic OpenVPN-Installer.

This will be the easy way to install OpenVPN. There is a manual guide for installing it here (not here yet, coming soon).

Pro’s

  • Easy Install
  • Easily Add and Remove Users
  • Easy Un-install
  • Interactive Script

Con’s

  • Your limited to package versions defined by Nyr himself.

Nyr: This script will let you setup 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.

Step 1 - Getting Started
You have three options of installing this installer.

  1. Using the one-liner command: wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
  2. Clone Nyr’s repository with git clone https://github.com/Nyr/openvpn-install.git
  3. Download the script itself and take a look at it first. wget https://raw.githubusercontent.com/Nyr/openvpn-install/master/openvpn-install.sh && nano openvpn-install.sh

Quite literally, he’s made it simple to the T. The script asks you questions like certificate names, dns options, openvpn ports and such so the install script is all automated.

Step 2 - Go do what you do

You then just need to copy your .ovpn file to your local machine and install OpenVPN’s software from the OpenVPN Website.

(Make sure you import your profile and click connect to start the vpn.