-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
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