kylemanna / docker-openvpn

🔒 OpenVPN server in a Docker container complete with an EasyRSA PKI CA
https://hub.docker.com/r/kylemanna/openvpn/
MIT License
8.7k stars 2.39k forks source link

Bind internal local service #271

Open el3ctrician opened 7 years ago

el3ctrician commented 7 years ago

Hello, I am using this image to make a VPN server but we have some hosted service on our servers the problem is for now we have to modify the hosts file on each machine after connecting to the server to access this server and naturally we can't modify the hosts of each user and/or mobile phone. Can i bind the addresses using the hosts file of the hosting machine and/or the docker container. i tried both but it didn't work ... any suggestion ? Thanks

el3ctrician commented 7 years ago

i managed to run a local DNS but it is not accessiable using the VPN ... any thoughts ?