AuspeXeu / openvpn-status

A web-based application to monitor OpenVPN server client connections
MIT License
161 stars 48 forks source link

How to setup openvpn-status with docker #472

Open farzinnasiri opened 4 years ago

farzinnasiri commented 4 years ago

Hey, I'm new to both openvpn and docker and I really didn't get how can I run openvpn-status on my ubunut 16.04 server. I am currently using this docker container: https://github.com/kylemanna/docker-openvpn

for my open vpn server. now I want to monitor it with your package but I don't know how can I run it on my server. I don't want to do the building process manually on my server. If you could help me I would be very thankful.

AuspeXeu commented 4 years ago

You need a docker compose file that creates two containers, one for your openvpn-server and one for openvpn-status these containers then need to be linked such that openvpn-status can access the management interface of openvpn-server. Beforehand you have to enable the management interface in the openvpn-server configuration.