Table of Contents

Install OpenVPN virtual router on Ubuntu 16.04 LTS as Unraid Virtual Machine

This will guide you through the setup of an OpenVPN virtual router on an installation of Ubuntu 16.04 LTS as an Unraid Virtual Machine.

VM Settings

Install to Virtual Machine

Setup

Update Packages

sudo apt-get update
sudo apt-get dist-upgrade

Install SSH Server

sudo apt-get install openssh-server

Create ssh-rsa key auth

Reboot

sudo reboot -h now

Set Static IP

sudo vim /etc/network/interfaces

change the bottom to read:

auto enp1s0
iface enp1s0 inet static
        address 192.168.1.99
        netmask 255.255.255.0
        gateway 192.168.1.1
        dns-nameservers 208.67.222.222 208.67.220.220

Install OpenVPN and IpTables

sudo apt-get install openvpn
sudo apt-get install iptables-persistent

Setup

* Links: