You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to put an OpenVPN server with only port 1194 exposed behind NPM. I would like to be able to set my ovpn client to vpm.domain.com instead of my public IP address. This is so I am not exposing port 1194 on my router and instead am only exposing 80 and 443 which NPM is listening on. What configuration do I have to do inside of NPM to allow the client to point to vpn.domain.com and it goes through Nginx and onto the VPN server. I know that this is similar to #274 but, I could not discern a clear configuration. I have tried to do a simple proxy where vpn.domain.com forwards to 10.0.1.51:1194 (the ovpn server) but the connection fails and from what I can tell, the server is not seeing any traffic trying to connect to it
The text was updated successfully, but these errors were encountered:
Proxying both http and non-http protocols on the same port is non-trivial and relies on SNI, which apparently is NOT provided by most OpenVPN clients. So it seems you need specific clients for this to work anyways.
If it were possible you would have to use the image from PR #1479 (jc21/nginx-proxy-manager:github-pr-1479) and add it as an ssl passthough host as described here.
What is troubling you?
I am trying to put an OpenVPN server with only port 1194 exposed behind NPM. I would like to be able to set my ovpn client to vpm.domain.com instead of my public IP address. This is so I am not exposing port 1194 on my router and instead am only exposing 80 and 443 which NPM is listening on. What configuration do I have to do inside of NPM to allow the client to point to vpn.domain.com and it goes through Nginx and onto the VPN server. I know that this is similar to #274 but, I could not discern a clear configuration. I have tried to do a simple proxy where vpn.domain.com forwards to 10.0.1.51:1194 (the ovpn server) but the connection fails and from what I can tell, the server is not seeing any traffic trying to connect to it
The text was updated successfully, but these errors were encountered: