Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary link Template:Article summary link Template:Article summary heading Template:Article summary wiki Template:Article summary wiki Template:Article summary end
Privoxy is a filtering proxy for the HTTP protocol, frequently used in combination with Tor. Privoxy is a web proxy with advanced filtering capabilities for protecting privacy, filtering web page content, managing cookies, controlling access, and removing ads, banners, pop-ups, etc. It supports both stand-alone systems and multi-user networks.
Using Privoxy is necessary when they use a SOCKS proxy directly because browsers leak your DNS requests, which reduces your anonymity.
Installation and setup
As root install the
privoxy package from
# pacman -S privoxy
When Privoxy is used in conjunction with Tor the two applications need to exchange information through a chain, which requires the specification of forwarding rules.
/etc/privoxy/config file and add this line at the end (be sure to include the . at the end and preserve the file owner and group permissions as
forward-socks5 / localhost:9050 .
This example uses the default port used by Tor. If you changed the port number modify the example accordingly. The same basic example is valid for other targets. If you plan on chaining to another proxy specify the method (here SOCKS5) and the port to suit your needs. Refer to section 5 of the manual inside
/etc/privoxy/config for a complete list of options and examples.
Additionally, make sure your
/etc/hosts file is correctly set up by comparing the hostname listed in
/etc/rc.conf, which the hostname is set. For further information see: Set the hostname.
Finally, if you plan to make Privoxy available to other computers in your network, just add:
Ad Blocking with Privoxy
Using an ad blocking extension in a web browser can increase page load time. Additionally, extensions like AdBlock Plus are not supported by all browsers. A useful alternative is to install system-wide ad blocking by setting a proxy address in your preferred browser.
Start the Privoxy service:
# rc.d start privoxy
Add privoxy to your
DAEMONS array in
DAEMONS=(... privoxy ...)
Configure your program to use Privoxy. The default address is:
For Firefox, go to:
Preferences > Advanced > Network > Settings
For Chromium you can use:
$ chromium --proxy-server="localhost:8118"
If errors appear when accessing
/var/log/privoxy/, user can add the following after
/etc/rc.d/privoxy and then restart privoxy.
if [ ! -d /var/log/privoxy ] then mkdir /var/log/privoxy touch /var/log/privoxy/errorfile touch /var/log/privoxy/logfile chown -R privoxy:adm /var/log/privoxy fi