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.74k stars 2.39k forks source link

Connect to a docker network bridge #270

Open JCombee opened 7 years ago

JCombee commented 7 years ago

I was wondering if it is posisble to get a connection going withing a docker network. This is how I would like the sistuation to be.

Me --- Internet ---> Server ---> openvpn-docker-container --- docker-bridge ---> mysql-database

This way I can easily isolate all of it from the internet and still have easy access to my mysql-database.

jcberthon commented 6 years ago

Yes you can. :-)

See my answer here: https://github.com/kylemanna/docker-openvpn/issues/315#issuecomment-337896139