TCP -TLS Redirection

Lukas Tribus luky-37 at
Tue Feb 11 23:12:15 UTC 2014


> I want to do a tcp to tls proxy. we need to communicate to apple server
> via tls (tcp over ssl). our server does not have internet access so we
> need to use a proxy server that has internet access which can
> * either accept the tcp communication and do a tls communication with
> apns. in this case our server just need to send data over tcp to proxy
> server without any SSL.
> * our server can send data over tls, if proxy server can do a transparent
> redirection.
> we have tried nginx, it is able to do tcp to tcp redirection but nginx is
> not allowing ssl directive to be specified in the upstream block of tcp
> configuration.

I think haproxy 1.5 is more suited to do this kind of configurations, not
sure what nginx can do out of the box.

> if proxy server can do a transparent redirection.

There is no such thing as "redirection" in TCP. What you mean is transparent



More information about the nginx mailing list