#Openvpn Access Server
A Openvpn Access Server running in a Ubuntu 16.04 docker container.
Create a Dockerfile in your project
FROM scottyc/openvpn or
docker run -d -p 443:443 -p 943:943 -p 1194:1194/udp --privileged=true --name openvpn scottyc/openvpn
Then login to
Username is openvpn password is password1234 (you might want to change that !!!)
Unfortunately that is manual at the moment, as the product itself does not lend itself to automation. Here are the doc https://openvpn.net/index.php/access-server/docs/91-how-to-access-server/general/124-how-to-activate-your-license-key.html You can however mount drives to the local compute resource and manipulate conf files. The downside to this is it opens up security concerns with that approach.
How would one pass additional config information, like the webserver name or add users.
There is an issue with Docker that iptables does not run unless run in privileged mode. Please make sure this is passed in as listed above. (-P)
While starting the server status ( from the OpenVPN panel ): iptables service not started because of error (SVC_RUN_EXCEPT)