Use nginx ngx_stream_ssl_preread_module to connect to ocserv using proxy protocol v2

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Thu Dec 15 11:18:01 PST 2016


On Thu, Dec 15, 2016 at 5:32 PM, Thomas Glanzmann <thomas at glanzmann.de> wrote:
> Hello,
> I would like to use nginx sni proxy feature to dispatch ssl traffic to
> ocserv. My setup is as follows:
> daemon:Dec 15 17:09:00 infra ocserv[21622]: worker:  worker-proxyproto.c:156: proxy-hdr: invalid v2 header

Are you sure that the nginx module you are using supports the proxy
protocol version 2?

regards,
Nikos



More information about the openconnect-devel mailing list