Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2003 12:03:13 +0100
From:      "Maarten de Vries" <mdv@unsavoury.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Transparent proxy
Message-ID:  <000a01c2f12b$cea91370$1001a8c0@jennie>

next in thread | raw e-mail | index | archive | help
Hi,

On my NAT-box, I'm trying to redirect all http traffic from the desktops
behind to the squid cache, which is on the same machine.

The ipfw rule I use that should accomplish this is:

$ ipfw add 2350 fwd 192.168.1.1 3128 from any to any 80

And in squid.conf I have:

http_port 192.168.1.1:3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy  on
httpd_accel_uses_host_header on

Somehow I must be overlooking something, because although http traffic works
well on the clients, it isn't being picked up. The firewall- and cachelog
remain empty...

Ipfw and Squid work well in all other respects. Any pointers would be much
appreciated!

--
http://unsavoury.net/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01c2f12b$cea91370$1001a8c0>