OpenVPN-AS

OpenVPN-AS

Docker app from macester's Repository

Overview

OpenVPN Access Server is a full featured secure network tunneling VPN software solution that integrates OpenVPN server capabilities, enterprise management capabilities, simplified OpenVPN Connect UI,
and OpenVPN Client software packages that accommodate Windows, MAC, Linux, Android, and iOS environments. OpenVPN Access Server supports a wide range of configurations,
including secure and granular remote access to internal network and/ or private cloud network resources and applications with fine-grained access control.
This version includes two free user licenses.

Configuration
/usr/local/openvpn_as This is where OpenVPN will store it´s configuration and data

Notes
Environment Variables
Define a variable if there is any need to change listening interface(default is eth0),
Click the Advanced view in the top right corner .
Add a variable under Environment Variables:
Variable Name: INTERFACE Variable Value: br0 (example values: eth1, br0, bond0)

Installation
Default Username: "admin" Password: "openvpn" Usernames/Passwords can be changed or added in webui .
1. Go to https://your_ip/hostname:943/admin
2. Ports 1194/udp 9443/tcp(443/tcp) needs to be forwarded and opened in your Firewall/Router. (1194/udp 9443/tcp can be changed in the WebUI)

Configuring OpenVPN Server
Go to https://openvpn.net/index.php/access-server/overview.html for HOWTO on setting it up.

logo

OpenVPN Access Server

OpenVPN - https://openvpn.net/index.php/access-server/overview.html

Running on the latest Phusion release (ubuntu 16.04), with OpenVPN AS 2.1.2.

Username and Password "admin / openvpn"

Pull image

docker pull mace/openvpn-as

Run container

docker run -d --net="host" --privileged --name=<container name> -v <path for openvpn config files>:/config -v /etc/localtime:/etc/localtime:ro mace/openvpn-as

Please replace all user variables in the above command defined by <> with the correct values. If you need to change the lisetning interface add(default is eth0):

-v INTERFACE=<interface name>

Web-UI

http://<host ip>:943/admin
Username and Password "admin / openvpn" (This can be changed in the webui)

Example

docker run -d --net="host"  --privileged --name=openvpnas -v /mylocal/directory/fordata:/config -v /etc/localtime:/etc/localtime:ro -e INTERFACE=br0 mace/openvpn-as

Additional notes

  • The owner of the config directory needs sufficent permissions (UUID 99 / GID 100).
  • Dont forget to forward/open ports to/on you docker host or in your router/firewall, the ports can be changed in the webui.
1194/udp 9443/tcp  (943/tcp for webui if needed)
  • Check the manual from the link on the top for how to setup the server.

Change notes

Change notes

  • 2015.07.01

Complete rewrite - Last code diden´t survive upgrades of openvpn and sometimes got corrupted on docker rebuilds. New code to better fit unRAID permissions and Phusion template. (Need to set a new config directory/ or clear old one- if upgrading).

  • 2015.08.11

Update Phusion base-image, Update to Openvpn-AS 2.0.20.

  • 2015.08.15

Admin username changed, "admin" and password "openvpn". Default tcp port changed from 443 to 9443 All username/passvord variables removed, now uses internal database. "INTERFACE" variable added, fixes bond0 issues. openvpn is now running as nobody:users.

  • 2015.10.7

Fix error that /mnt/user/(appdata) couldent be used. (symlinked and samba shares for non unRAID systems)

  • 2015.10.17

Update to openvpn-as openvpn-as-2.0.21.

  • 2015.11.12

Add variable for pipework, "PIPEWORK".

  • 2015.08.11

Update Phusion base-image.

  • 2015.08.15

Admin username changed, "admin" and password "openvpn". Default tcp port changed from 443 to 9443. All username/passvord variables removed, now uses internal database. "INTERFACE" variable added, fixes bond0 issues. openvpn is now running as nobody:users.

  • 2015.10.7

Fix error that /mnt/user/(appdata) couldent be used.

  • 2015.10.17

Update to openvpn-as-2-0-21

  • 2015.11.12

Added support for pipework (defaults to eth1 and port 443 instead of 9443)

  • 2015.12.16

Upgrade Phusion base-image.

  • 2015.12.19

Revert to previous Phusion base-image.(New image is bugged)

  • 2015.12.24

Phusion base-image.(Upgrade sys-log) Add apt-get upgrade for security updates should have been enabled along time ago

  • 2016.01.06

Upgrade to Openvpn-as-2.0.24

  • 2016.03.24

Upgrade to Openvpn-as-2.0.25

  • 2016.05.22

Upgrade to Openvpn-as-2.1.0

  • 2016.06.27

Upgrade to Openvpn-as-2.1.1

  • 2016.07.8

Upgrade to Openvpn-as-2.1.2

  • 2017.11.19

Move to phusion 0.9.22 (Ubuntu 16.04) Removed pipework support now that docker supports macvlan

Install OpenVPN-AS on Unraid in a few clicks.

Find OpenVPN-AS in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for OpenVPN-AS Review the template variables and paths Click Install

Categories

Download Statistics

423,353
Total Downloads
113
This Month
150
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Explore more like this

Explore all

Details

Repository
mace/openvpn-as
Last Updated2018-04-25

Runtime arguments

Web UI
https://[IP]:[PORT:943]/admin
Privileged
true