Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-18-2010, 04:30 AM   #1
Registered: Jul 2005
Posts: 335

Rep: Reputation: Disabled
Transparently chaining Squid and Privoxy for a local machine

I'm trying to setup iptables to send web (tcp?) traffic through Squid and Privoxy transparently (to save having to setup everything per browser and hoping they honor their settings). I know I have done this before but I can't find the old config nor remember the exact options needed to do this.

What I am wanting specificially is for Privoxy to grab the data as it leaves the browser, do its thing then pass it on to Squid before sending it down the line, then doing the same incoming (Privoxy -> Squid -> requesting app).

I'm mostly using Squid as a web cache.
Old 07-18-2010, 10:00 PM   #2
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,275

Rep: Reputation: 148Reputation: 148
To setup privoxy as a parent proxy add the following line in squid configuration file
cache_peer privoxy.ip.address parent 8080 0 no-query no-digest
To setup squid as a transparent proxy refer the following


iptables, privoxy, squid

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid server not giving access to my local machine to internet ashish1983 Linux - Newbie 3 05-14-2009 12:15 AM
HELP: how do You setup Squid to work transparently? zazazz *BSD 2 12-25-2006 08:25 AM
Squid,Tor,Privoxy gabsik Linux - Networking 1 08-07-2006 10:51 PM
squid privoxy gabsik Linux - Networking 0 04-20-2006 02:03 AM
Squid VS Privoxy drumvudu Linux - Security 2 05-09-2005 07:46 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration