germacopper.blogg.se

Openvpn docker
Openvpn docker













openvpn docker
  1. OPENVPN DOCKER INSTALL
  2. OPENVPN DOCKER SOFTWARE
  3. OPENVPN DOCKER DOWNLOAD

Now check that you have 4 docker containers running in your system: $docker ps -aCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES0917e2be15b4 openvpn-docker-googleauth_webadmin "docker-php-entrypoi…" 2 minutes ago Up 2 minutes 0.0.0.0:8080->80/tcp webadminda8c0f04bdfe openvpn-docker-googleauth_openvpn "docker-entrypoint.s…" 2 minutes ago Up 2 minutes 8080/tcp, 0.0.0.0:1099->1099/tcp, 8443/tcp openvpn4985a54a5594 openvpn-docker-googleauth_googleauth "docker-php-entrypoi…" 2 minutes ago Up 2 minutes 80/tcp googleauth970f978c37d1 mariadb "docker-entrypoint.s…" 2 minutes ago Up 2 minutes 3306/tcp db Successfully tagged openvpn-docker-googleauth_webadmin:latest Removing intermediate container 319edaf415c7 Step 14/15 : RUN rm -fr /root/OpenVPN-Admin & chown -R www-data:www-data /var/www/html Removing intermediate container cc0508eca502

  • openvpn_docker_nginx is the docker container that exposes the OpenVPN interface via SSLĭocker-compose up -dCreating network "openvpn-docker-googleauth_default" with the default driverĬreating volume "openvpn-docker-googleauth_openvpn_config" with default driverĬreating volume "openvpn-docker-googleauth_db_data" with default driverīuilding openvpnStep 1/16 : FROM centos/php-72-centos7.
  • googleauth is a docker container that runs a small PHP microservice to do the 2 step authentication(pairing and validation).
  • webadmin runs the webadmin interface for OpenVPN.
  • openvpn docker container runs the OpenVPN server.
  • The new OpenVPN implementation runs as 4 docker containers: So I forked the GitHub project  and added extra functionality required for enabling the Google Authenticator functionality. The Community edition of OpenVPN does not provide 2 Factor authentication, therefore I had to add this feature.
  • The PHP gangsta - Google Authenticator project - a PHP implementation of the Google Authenticator reference app originally written for mobile.
  • OpenVPN-Admin which provides a UI for an administrator and users to set up VPN users.
  • OpenVPN which provides the VPN functionality.
  • This OpenVPN solution uses three separate open-source projects: To make the VPN more secure I added 2-Factor authentication using Google’s Authenticator reference application. With more people working from home due to lockdowns, this has required ways for workers to be able to access intranet websites from within their homes without compromising security and without relying on IP address whitelisting as Home IP addresses are not normally static. It uses a custom security protocol that utilizes SSL/TLS for key exchange”.

    openvpn docker

    OPENVPN DOCKER SOFTWARE

    What is OpenVPN?Īccording to Wikipedia: “OpenVPN is an open-source commercial software 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. The management interface is a simple PHP web interface that uses a MariaDB as a backend.

    OPENVPN DOCKER DOWNLOAD

    Since I only use the community edition of OpenVPN, this project gives you access to a neat management interface, from which you can create & manage VPN user accounts, and also allow VPN users to download the files that they need to connect to the VPN. Backgroundīefore the need for extra security via 2-factor authentication came up, I was already using OpenVPN with the help of an excellent open-source project in GitHub which provides a web administration interface ( ). For me, that was a non-starter as all my existing VPN users reside only inside a database.

    OPENVPN DOCKER INSTALL

    Not only is this plugin difficult to install because of Linux library dependencies, but most importantly it requires a real Unix user for each VPN account you need to setup. Most guides I found on the internet, if not all, talk about using a PAM plugin to extend OpenVPN with 2 Step Authentication. I am writing this article to save you time and effort because this was not straightforward. I recently set up a VPN with 2-Factor Authentication using the Community Edition of OpenVPN and using Google’s standard authenticator.















    Openvpn docker