connect through a reverse proxy

Post Reply
OpenVpn Newbie
Posts: 6
Joined: Wed Jul 29, 2015 3:57 am

connect through a reverse proxy

Post by nem2k » Tue Jan 23, 2018 2:34 pm

I have an nginx reverse proxy set up to access the webgui. It looks something like this:

Code: Select all

server {
	listen 443 ssl;

	root /config/www;
	index index.html index.htm index.php;

	server_name vpn.*;

	location / {
		include /config/nginx/proxy.conf;
when I direct my web browser to I'm taken to the web gui and it all works fine. I'd like to set up ovpn-as so that clients can connect using that address without me having to open port 9453 on my router. currently clients have to connect through, but I want to find a way to make this work without that port being open. possible to initially direct vpn traffic to 443, and then go internally to the ovpn-as ip:port?

is there a sensible way to do this in the webgui settings, or changing my router/nginx config?

Post Reply