Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/EvilFreelancer/docker-openvpn-admin

Docker composition for OpenVPN Admin web interface
https://github.com/EvilFreelancer/docker-openvpn-admin

docker docker-compose easyrsa openvpn openvpn-admin

Last synced: about 2 months ago
JSON representation

Docker composition for OpenVPN Admin web interface

Awesome Lists containing this project

README

        

# 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

* https://github.com/Chocobozzz/OpenVPN-Admin