Changes between Version 7 and Version 8 of doc/RunTwoPrivoxys


Ignore:
Timestamp:
Sep 20, 2011, 4:54:41 PM (7 years ago)
Author:
nella
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/RunTwoPrivoxys

    v7 v8  
    1 Howto always run privoxy within firefox, with switching between tor on/off.
     1Howto always run privoxy within Firefox, with switching between tor on/off.
    22
    3 You have to run two privoxy daemons in parallel.
     3You have to run two Privoxy daemons in parallel.
    44
    5 You have privoxy installed. Now You copy it's configuration directory to a second place:
     5You have Privoxy installed. Now You copy it's configuration directory to a second place:
    66
    77# cp -a /etc/privoxy /etc/privoxy2
    88
    99In one config you forward to tor daemon (using Tor), in the other not (not using Tor).
    10 Second, the two privoxys have to listen on different ports. So, if the first privoxy listens on the standard port 8118, edit /etc/privoxy2/config and edit:
     10Second, the two Privoxys have to listen on different ports. So, if the first Privoxy listens on the standard port 8118, edit /etc/privoxy2/config and edit:
    1111
    12 listen-address  127.0.0.1:8119
     12listen-address 127.0.0.1:8119
    1313
    1414So the first listens on port 8118 and the second on 8119.
    1515
    16 Now You have to create an init script for the second privoxy.
     16Now You have to create an init script for the second Privoxy.
    1717The following I have done for this in Debian Etch:
    1818
     
    3333# /etc/init.d/privoxy2 start
    3434
    35 Now You should have running two privoxy processes (check with ps aux | grep privoxy).
     35Now You should have running two Privoxy processes (check with ps aux | grep privoxy).
    3636
    37 Now install the firefox switchproxy extension and configure it to switch between the two privoxys (localhost:8118 and localhost:8119).
     37Now install the Firefox switchproxy extension and configure it to switch between the two Privoxys (localhost:8118 and localhost:8119).
    3838
    3939That's it!