You are not logged in.

#1 2017-04-30 08:13:27

Icarus_Radio
Member
Registered: 2017-02-28
Posts: 45

[SOLVED] Unable to use privoxy

Because of the GFW, I have to use shadowsocks. Now I have successfully configured shadowsocks, and I wanted to use it in command line, so I installed privoxy.
I have set the /etc/privoxy/config:

forward-socks5 / 127.0.0.1:1080 .
listen-address 127.0.0.1:8118

Then I started privoxy.service and use the environment variable:

$ export http_proxy="http://127.0.0.1:8118"
$ export https_proxy="https://127.0.0.1:8118"

However, when I do this:

$ curl www.google.com

I get a strange output, which doesn't seem that I have successfully configured it at all:

No server or forwarder data received
Your request for http://www.google.com/ could not be fulfilled, because the connection to www.google.com (127.0.0.1) has been closed before Privoxy received any data for this request.

This is often a temporary failure, so you might just try again.

If you get this message very often, consider disabling connection-sharing (which should be off by default). If that doesn't help, you may have to additionally disable support for connection keep-alive by setting keep-alive-timeout to 0.

I am 100% sure that my shadowsocks configuration is correct, because I used the same configuration on ubuntu, and it works fine.
So can anyone help me plz.

Last edited by Icarus_Radio (2017-05-01 02:25:22)

Offline

#2 2017-04-30 08:41:05

Gosi
Member
From: Vienna, Austria
Registered: 2010-02-25
Posts: 103

Re: [SOLVED] Unable to use privoxy

I just have some general advise, as I cannot help you with this specific problem:

You don't have to install privoxy in this case, there are other options.

Did you read this page https://wiki.archlinux.org/index.php/Proxy_settings

If you want stick with privoxy I  would first try to make it work without shadowsocks.

Offline

#3 2017-04-30 11:27:12

Icarus_Radio
Member
Registered: 2017-02-28
Posts: 45

Re: [SOLVED] Unable to use privoxy

Gosi wrote:

I just have some general advise, as I cannot help you with this specific problem:

You don't have to install privoxy in this case, there are other options.

Did you read this page https://wiki.archlinux.org/index.php/Proxy_settings

If you want stick with privoxy I  would first try to make it work without shadowsocks.

I have read this page and tried proxychains-ng, still no luck sad

Offline

#4 2017-05-01 02:25:00

Icarus_Radio
Member
Registered: 2017-02-28
Posts: 45

Re: [SOLVED] Unable to use privoxy

Found the problem, port 1080 has already been used.
Thanks anyway smile

Offline

Board footer

Powered by FluxBB