Use nginx ngx_stream_ssl_preread_module to connect to ocserv using proxy protocol v2

Maxim Konovalov maxim at
Fri Dec 16 00:13:15 PST 2016

On 12/16/16 12:36 AM, Thomas Glanzmann wrote:
> Hello Nikos,
>> Are you sure that the nginx module you are using supports the proxy
>> protocol version 2?
> you're probably right. Nginx seems to support only version 1 of the
> proxy protocol because I can't see the binary header preamble. Can
> someone confirm?
Yes, that's right -- no support for the proxy proto v2.

Maxim Konovalov

More information about the openconnect-devel mailing list