[Privoxy-users] many forward socks5

Fabian Keil fk at fabiankeil.de
Thu Dec 1 19:52:16 CET 2022


Mike Tkatchouk <mike at tk.pp.ru> wrote on 2022-12-01 at 23:47:28:

> Hi all. I want to use privoxy to work with different socks5 proxies.
> 
> My configuration looks like this:
> 
> forward-socks5 / localhost:9050 .
> forward-socks5 / localhost:9050 .

These two lines look the same?

> forward-socks5 / localhost:9051 .
> forward-socks5 / localhost:9052 .
> forward-socks5 / localhost:9053 .
> forward-socks5 / localhost:9054 .
> 
> Privoxy is part of the squid-privoxy-many sock5 proxy cascade.

Your forward-socks5 directives all have the same URL pattern ("/")
so at the moment the last one is expected to overrule the previous
ones.

It's not entirely clear to me what behaviour you desire.

On our TODO list we have:
|  19) enable-forward-fallback. Syntax? Suggested by K.R.
<https://www.privoxy.org/gitweb/?p=privoxy.git;a=blob;f=TODO;hb=HEAD#l53>

Is that what you want?

I, too, use multiple forwarding proxies but I let Privoxy
chose the forwarding proxy based on the URL and the client
headers.

> For some reason it does not work stably, for different clients. Chrome 
> throws an error: ERR_EMPTY_RESPONSE.
> 
> Naturally, each socks5 proxy is available separately.

To diagnose the Chrome issue it would probable help to
check the Privoxy log after enabling the debug directives
suggested at:
<https://www.privoxy.org/user-manual/contact.html>

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-users/attachments/20221201/e83a6cf1/attachment.bin>


More information about the Privoxy-users mailing list