Use a SOCKS5 Backend

The current traffic flow looks like this:

Browser -> HAProxy --> SOCAT --> SOCKS5 Tunnel --> Remote HTTP Server

I would like to know if it’s possible to remove socat and have HA Proxy connect directly to the SOCKS5 tunnel. The desired traffic flow should look like:

Browser -> HAProxy --> SOCKS5 Tunnel --> Remote HTTP Server

I’m now also seeing a need for not just HTTP, but being able to have HAProxy load balance/redirect TCP connects over a SOCKS backend.

I guess this should probably be filed as a feature request?