docker-openvpn icon indicating copy to clipboard operation
docker-openvpn copied to clipboard

OpenVPN + Reverse Proxy

Open AugustoGarcia opened this issue 3 years ago • 1 comments

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:

  • Connect to the host server's gui navigating to 192.168.255.5:someport. This is not working
  • Use the host server's reverse proxy to redirect somesubdomain.somedomain.com to 192.168.255.6:someport. This is not working either.

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

Thanks!

AugustoGarcia avatar Aug 21 '21 01:08 AugustoGarcia

did you find the solution?

nnhhuu avatar Jul 13 '23 18:07 nnhhuu