Hi,

On Thu, Mar 19, 2026 at 10:08:45AM +0100, Antonio Quartulli wrote:
> On 18/03/2026 23:55, Greg Troxel wrote:
> > (It would be great if someone could do a blog post or docs change to
> > explain how to configure nginx to function as a proxy to reach an
> > openvpn server on the same host, so that the connection from the client
> > to the server would just be on 443/tcp.   Critically, this should work
> > without interfering with the web server, so no remapping /.)
> 
> It sounds as if you are looking for the --port-share option?
> It's been there for a while (way before multisocket was implemented) and it
> seems to be what you are looking for.

I think he wants it the other way round - connections go to nginx, and
*if* openvpn, then forward to openvpn.

No idea if this can be done today - there are some patches floating around
to add various aspects of PROXY PROTOCOL, so maybe it can, maybe not.

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to