On 9/13/05, Saju A P <[EMAIL PROTECTED]> wrote:
> On 9/12/05, Thaths <[EMAIL PROTECTED]> wrote:
> > iptables -t nat -A PREROUTING -i eth1 -p tcp --destination !
> > ip.addr.or.eth1 --dport 80 -j REDIRECT --to-port 3128
> >
> > Replace ip.addr.of.eth1 as appropriate. You are basically saying that
> > all accesses to port 80 other than to the machine itself will be
> > rerouted through squid.
> In my network all user need apache and they need to force use squid.
> Now I am facing the problem is I can't use port 80 for apache. Can I
> use port 80 for transparent proxy setup.

Are you saying that requests to the web server (apache) running on
your proxy box needs to be chached? The solution I gave you enables
cacheing of all other web requests /except/ the ones to the web server
running on the box itself. That is not a bad solution, really.

Why do you need accesses to the web server running on the proxy box to
go through squid? What do you mean by "can't use port 80 for apache"?

Thaths
-- 
"This is everybody's fault but mine!" -- Homer J. Simpson


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-india-help mailing list
linux-india-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to