PDA

View Full Version : [all variants] How do I run multiple instances of Privoxy?


kyfho23
June 20th, 2009, 12:23 PM
Hello, all
I've set up Privoxy/Tor, and it seems to be running fine. I've even used Vidalia to set up a Tor relay.
My question is: How do I set up another instance of Privoxy ( or another config file) to use without Tor? I want to have another Privoxy just for blocking ads, without the Tor relay.
I'm not sure if I need a whole instance of Privoxy, or just another config file. But I'd like to have both options available at startup, if possible.

Thanks
Chris

kyfho23
June 20th, 2009, 01:42 PM
Found the answer here: https://wiki.torproject.org/noreply/TheOnionRouter/RunTwoPrivoxys

after you've finished the directions there, you also have to create a new executable: sudo cp -a /usr/sbin/privoxy /usr/sbin/privoxy2

Dr Small
June 20th, 2009, 05:31 PM
That to me seems the hard way. Probably just creating a new config file, and a new init file that uses the new config file would work.

HunterThomson
November 8th, 2011, 01:49 AM
That to me seems the hard way. Probably just creating a new config file, and a new init file that uses the new config file would work.

Nope, I tried it every which way. You have to copy the binary.

sudo cp /usr/sbin/privoxy /usr/sbin/privoxy2

What I did was setup one privoxy proxy that connects to the internet directly and uses the AdBlock Pluss EasyList lists. On Archlinux I installed the privoxy-blocklist script from the AUR which converts Adblock Plus blocklist to privoxy format.

Then I setup a second privoxy proxy that also blocks ad's but also forwards though TOR.