LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-18-2010, 04:30 AM   #1
Dralnu
Member
 
Registered: Jul 2005
Distribution: Arch Linux, Gentoo Linux
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
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,233

Rep: Reputation: 132Reputation: 132
To setup privoxy as a parent proxy add the following line in squid configuration file
Quote:
cache_peer privoxy.ip.address parent 8080 0 no-query no-digest
To setup squid as a transparent proxy refer the following
http://www.linuxquestions.org/questi...-proxy-701710/
 
  


Reply

Tags
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


All times are GMT -5. The time now is 08:04 AM.

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