linux poison RSS
linux poison Email

Removing Internet Junks (ads, banners, pop-ups, etc ..) using privoxy on OpenSuSe

Privoxy is a Web proxy based on Internet Junkbuster with advanced filtering capabilities for protecting privacy, filtering Web page content, managing cookies, controlling access, and removing ads, banners, pop-ups, and other obnoxious Internet junk. Privoxy has a very flexible configuration and can be customized to suit individual needs and tastes. Privoxy is useful for both stand-alone systems and multi-user networks.

Installation: use "1-click" installer to install Privoxy
OpenSuSe 11.1 - here
OpenSuSe 11.0 - here

Having installed privoxy, we need to edit the config file and make some small changes. To edit, run: vi /etc/privoxy/config

You can choose to read the ToC and the Introduction (and of course the descriptions of each option), but if you want to skip that and get to a working proxy, search for the word "listen-address" in the cofig file and set your local ip address and port on which privoxy server will listen.


(Your ip will most likely be different). This is the IP address of the ethernet port the computer is running on. This can also be loopback ( if you dont want to share your advert freeing proxy goodness :). The other part (after the ":") is the port number to listen on - this can be almost anything, but unless you need it moved, its probably best to leave it where it is.

Thats our big change here! save and exit the editor your using, then restart the daemon, and your finished: # /etc/init.d/privoxy restart

You should now have a filtering proxy running on the IP and port you just specified. If you want Firefox or some other browser to run through it, you simply change the settings in the browsers configuration.

Open the browser, click Edit -> Preferences. Click the 'connection settings' button, and click on 'manual proxy configuration'. In the top field add the following (as shown in the figure)

You can also go to to check the status of you priovoxy server and other configuration details



awhan said...

can this work behind a proxy ? we have a proxy system that has user/pass authentication ... will privoxy work there?

DevOps said...

Yes, in this case you need to configure squid (proxy) to use privoxy as a parent cache server so that all the request from squid (proxy) goes to privoxy server for filtering

check this -

Post a Comment

Related Posts with Thumbnails