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?
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!