Skip to content

EvilFreelancer/docker-openvpn-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker + OpenVPN + Web Admin

This solution is adapted for WIP (Work In Progress) branch with feature/refractoring name.

How to start

Copy docker-compose config from example:

cp docker-compose.yml.dist docker-compose.yml

Now you need prepare your OpenVPN-Admin environment (of php service) and change parameters to which you need:

nano docker-compose.yml

Install all submodules:

git submodule update --init --remote

Build composition of containers:

docker-compose build

Now you need install your OpenVPN server:

docker-compose run app install

You can find all your certs and configurations of OpenVPN inside [openvpn] folder.

Start the composition of containers:

docker-compose up -d

OpenVPN tools

Install OpenVPN into the container:

docker-compose run app install

OpenVPN daemon commands:

docker-compose run app start
docker-compose run app stop
docker-compose run app restart

About folders

  • [configs] - Dockerfile build context, with nginx and PHP configuration files inside
  • [database] - root folder of local MySQL database
  • [OpenVPN-Admin] - sources of web application
  • [openvpn] - folder with all configurations of OpenVPN
  • [logs] - a lot of logs of daemons from containers

Roadmap

  • Need to fix bug with iptables and routes

Links

About

Docker composition for OpenVPN Admin web interface

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages