LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Transparently chaining Squid and Privoxy for a local machine (http://www.linuxquestions.org/questions/linux-networking-3/transparently-chaining-squid-and-privoxy-for-a-local-machine-820480/)

Dralnu 07-18-2010 04:30 AM

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.

kirukan 07-18-2010 10:00 PM

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/


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