Privoxy Custom Config

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:21, 18 February 2014 (edit)
Magick777 (Talk | contribs)
(New page: This guide assumes that you are running a version of DD-WRT with Privoxy included into the DD-WRT firmware; it does not cover installing Privoxy from Optware although many of the same inst...)
← Previous diff
Revision as of 17:52, 18 February 2014 (edit) (undo)
Magick777 (Talk | contribs)

Next diff →
Line 1: Line 1:
-This guide assumes that you are running a version of DD-WRT with Privoxy included into the DD-WRT firmware; it does not cover installing Privoxy from Optware although many of the same instructions might still apply.+This guide assumes that you are running a version of DD-WRT that has Privoxy included into the DD-WRT firmware; it does not cover installing Privoxy from Optware, although many of the same instructions might still be useful if you do.
= Privoxy basic configuration = = Privoxy basic configuration =
Line 5: Line 5:
== Set up custom config for DD-WRT's built-in privoxy == == Set up custom config for DD-WRT's built-in privoxy ==
-In order to customise Privoxy's configuration files, you will need to+In order to be able to customise Privoxy's configuration files, you will need to
* set up read/write storage i.e. JFFS2 or USB * set up read/write storage i.e. JFFS2 or USB
Line 27: Line 27:
-prevent-compression -prevent-compression
* add a suitable URL pattern to that section and voila, you're unblocked. * add a suitable URL pattern to that section and voila, you're unblocked.
 +
 += Chaining Privoxy to other software =
 +
 +Privoxy supports selectively forwarding web traffic over HTTP or SOCKS proxy, which means you can use it to route some or all of your web traffic over Tor, and/or to a proxy server of your choice. This has a variety of possible uses, including
 +
 +* cacheing HTTP GET requests to minimise bandwidth use
 +* circumventing the blocking of e.g. torrent websites by ISPs or governments
 +* providing access to Tor hidden services
 +* routing specific HTTP connections through a preferred country or jurisdiction
 +
 +
 +
 +== Local HTTP proxy ==
 +== Tor ==
 +
 +'''Warning:''' transparently routing connections through Tor '''provides obfuscation, not anonymity'''
 +
 +
 +== SSH ==

Revision as of 17:52, 18 February 2014

This guide assumes that you are running a version of DD-WRT that has Privoxy included into the DD-WRT firmware; it does not cover installing Privoxy from Optware, although many of the same instructions might still be useful if you do.

Contents

Privoxy basic configuration

Set up custom config for DD-WRT's built-in privoxy

In order to be able to customise Privoxy's configuration files, you will need to

  • set up read/write storage i.e. JFFS2 or USB
  • enable custom privoxy config (in GUI)
  • paste contents of /tmp/privoxy.conf into custom config window in GUI
  • turn on enable-edit-actions
  • adjust the config to use /jffs/privoxy as confdir
  • copy any relevant files from old confdir to new confdir
  • now visit config.privoxy.org in your browser and you'll find "Edit" buttons next to the actions files

Add exception for a site blocked in error

  • edit user.actions
  • scroll down until you find a ruleset that starts with:

-block, -crunch-incoming-cookies, -crunch-outgoing-cookies, -fast-redirects, -filter, -hide-referrer, -prevent-compression

  • add a suitable URL pattern to that section and voila, you're unblocked.

Chaining Privoxy to other software

Privoxy supports selectively forwarding web traffic over HTTP or SOCKS proxy, which means you can use it to route some or all of your web traffic over Tor, and/or to a proxy server of your choice. This has a variety of possible uses, including

  • cacheing HTTP GET requests to minimise bandwidth use
  • circumventing the blocking of e.g. torrent websites by ISPs or governments
  • providing access to Tor hidden services
  • routing specific HTTP connections through a preferred country or jurisdiction


Local HTTP proxy

Tor

Warning: transparently routing connections through Tor provides obfuscation, not anonymity


SSH