On Thu, Jun 6, 2019 at 12:27 PM Igor Pav <[email protected]> wrote:
> Sorry to ask a not so related question here, I have a Linux gateway to
> redirect user's TCP traffic by using iptables like `iptables -t nat -A
> PREROUTING  -p tcp dst -j REDIRECT --to-ports 1000`, port 1000 is
> redsocks transparent tcp-to-socks proxy,
> since we have Alec's patch here, I wonder if that easy to modify the
> patch to meet my weird requirement like:
> ```
> listen tcps
>  bind: 1000 transparent
>  server x.x.x.x:2000 ssl
> ```
> x.x.x.x:2000 is a remote socks server with ssl wrap. I want user TCP
> traffic from port 1000 to redirect to remote socks server. I'm not so
> familiar in haproxy core architecture, can you guys point me which
> part in the source should I look at?


Hello Igor!

This is exactly the same use-case I've proposed (along others that
would fit in the same "pattern"), which was spawned into a different
thread with the subject:

  Discussion about "Upstream socks proxy support #82"

(Thus I would suggest to switch to that thread.)

At the moment, it is still debated if such a feature would be useful,
and unfortunately nobody has stepped-up to write a patch.  :)

Ciprian.

Reply via email to