Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2007 21:57:43 -0000
From:      "Greg Hennessy" <Greg.Hennessy@nviz.net>
To:        "'Umar'" <unix.co@gmail.com>, <freebsd-pf@freebsd.org>
Subject:   RE: squid and apache same machine
Message-ID:  <004e01c820c0$0f642490$2e2c6db0$@Hennessy@nviz.net>
In-Reply-To: <13613687.post@talk.nabble.com>
References:  <13613687.post@talk.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004e01c820c0$0f642490$2e2c6db0$>