transparent Squid 2.5Stable10 + FreeBSD 5.3

fooler fooler at skyinet.net
Tue Jun 21 06:32:39 GMT 2005


----- Original Message ----- 
From: "Ryan Rathje " <mrsharky at iastate.edu>
To: <freebsd-net at freebsd.org>
Sent: Monday, June 20, 2005 11:40 PM
Subject: transparent Squid 2.5Stable10 + FreeBSD 5.3


> ipfw add allow all from any to 192.168.1.2 80
> ipfw add fwd 192.168.1.2 tcp from any to 192.168.1.2 3128
> ipfw add fwd 192.168.1.2,3128 tcp from any to any 80,82,3128 out recv
> 192.168.1.2 xmit 129.186.215.57
>
> My gut feeling is it has something to do with my ipfw rules, any and ALL
help
> would get GREATLY appreciated.  thanks

yup your gut feeling is correct :->

you dont need to enable IPFILTER if you use IPFW...

your simple ipfw rule for transparent proxy looks like this:

ipfw add fwd 127.0.0.1,3128 tcp from any to any 80 in via <nic2 interface
name>

fooler.



More information about the freebsd-net mailing list