Yes, I agree with the stream mechanism. But are you sure your tcp forwarding is based on hostnames? Sorry for my poor english, here is the description I'm trying to do: https://stackoverflow.com/questions/34741571/nginx-tcp-forwarding-based-on-hostnameby tmtben - How to...
Thanks again! The vhost vpn.tjzimmerman.com is used for the OpenVPN AS interface admin only (port 943), not for the vpn connection (ports 8050 and 8051. I would like to "reverse proxyfying" several vpn servers on the same host : exactly the same vpn conf, same port, only the server name is different. But I'm not sure it's possible...by tmtben - How to...
Many thanks @hanz_zimmer! Which server name do you use for your vpn connection?by tmtben - How to...
Great! Would you mind sharing your nginx conf?by tmtben - How to...
Did you find a solution?by tmtben - How to...
> That example works fine, the problem must be that a vpn request is not > sending a vpn (ssl) SNI hostname, check the logfiles because the SNI > names are in there when detected. > > If this is the case ssl_preread may need a patch to handle vpn names. My nginx logs (using ssl_preread) do not show sni names for vpn traffic. But I'm not sure my vpn is well setup...by tmtben - How to...
I'm still trying to access several vpn servers by hostname using the same port on the same host. I looked at the \conf\nginx-sslh-v1.0.conf file for Windows version and here: http://stackoverflow.com/questions/34741571/nginx-tcp-forwarding-based-on-hostname/40135151 But I don't manage to make it work :-( Does anybody have an example?by tmtben - How to...
Thanks, I'll have a look...by tmtben - How to...
Hi Inzanez, I'm interresting with your use-case. I'm looking for a solution to proxy vpn traffic: - on the same host, I want to run several openvpn servers using the same port (443/tcp) - I want to access each vpn servers by hostname Do you think it's possible? Thanks, Benby tmtben - How to...