Use nginx ngx_stream_ssl_preread_module to connect to ocserv using proxy protocol v2

Thomas Glanzmann thomas at glanzmann.de
Thu Dec 15 13:36:37 PST 2016


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?

https://thomas.glanzmann.de/tmp/nginx.pcap

Cheers,
        Thomas



More information about the openconnect-devel mailing list