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.78k stars 2.4k forks source link

OpenVPN + Reverse Proxy #669

Open AugustoGarcia opened 3 years ago

AugustoGarcia commented 3 years ago

I am trying to combine the openvpn container with a reverse proxy so that the host server will redirect specific subdomains to a secondary server connected through openvpn. I can set up the container fine and if I download the .opvn profile on the second server it connects fine and has internet access (and it is seen with the host server's ip), so far so good.

The secondary server is assigned an ip in the form 192.168.255.6, with the DNS server address being 192.168.255.5. I assumed I would be able to:

I'm definitely doing something wrong but I have no idea as to why. Can anyone help?

Thanks!

nnhhuu commented 1 year ago

did you find the solution?