On Thu, Aug 27, 2020 at 09:19:24PM +0800, Hongyi Zhao wrote:
> On Thu, Aug 27, 2020 at 9:51 AM Willy Tarreau <w...@1wt.eu> wrote:
> >
> > Hi,
> >
> > On Mon, Aug 17, 2020 at 10:09:36PM +0800, Hongyi Zhao wrote:
> > > Hi,
> > >
> > > Is it possible for the following settings in haproxy:
> > >
> > > A http frontend listening on the localhost:18887 which uses a backend
> > > consisting of several remote socks5 servers?
> >
> > Not exactly, however you can use a socks4 encapsulation when reaching a
> > server. That doesn't change the http mode on the backend, it just inserts
> > a socks4 "header" on the connection to the server.
> 
> Are there examples/tutorials for this case?

I think that if you look for "socks4" in the configuration manual you'll
find at least one place indicating the syntax to use on the server line.
>From memory, it should just be one word on the server line to enable this
encapsulation.

Willy

Reply via email to