squid and apache same machine

Greg Hennessy Greg.Hennessy at nviz.net
Tue Nov 6 14:16:11 PST 2007


> I have squid and apache in the same machine. My problem is that the
> users
> cannot see the web page at the same machine in which squid is
> installed. Any
> idea why?

Yes, you should only policy route traffic *not* destined for your webserver

Try something like this instead

# Transparent Squid Redirect
#
# rdr pass on $Int  $TCP from <InsideNets> to !<InsideNets> port www  ->
127.0.0.1 port 3128


Greg





More information about the freebsd-pf mailing list