LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Squid as a transparent proxy (https://www.linuxquestions.org/questions/linux-software-2/squid-as-a-transparent-proxy-263639/)

kemplej 12-07-2004 09:46 AM

Squid as a transparent proxy
 
How could I set up a squid box to be a transparent proxy? I want to be able to have all web traffic that goes across the box to be authd by the squid ncsa.

thanks

Justyn

hob 12-08-2004 05:52 AM

From memory, there are two parts to it. The first thing to do is to set up a rule on the firewall that redirects the traffic, and then you add a rule in the Squid config.

I use shorewall as a network firewall, and there were instructions on the site for transparent proxying. Don't know what the rule would be on raw iptables, but Google can probably tell you.

FWIW, transparent proxying doesn't work with SSL protocols, so it's not very useful in many environments.

Recirqie 12-08-2004 05:00 PM

The rule in squid.conf goes into /authenticate_program /usr/bin/pam_auth (adjust path and name according to what you use)


All times are GMT -5. The time now is 11:44 PM.