Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2005 14:32:17 +0800
From:      "fooler" <fooler@skyinet.net>
To:        <freebsd-net@freebsd.org>, "Ryan Rathje " <mrsharky@iastate.edu>
Subject:   Re: transparent Squid 2.5Stable10 + FreeBSD 5.3
Message-ID:  <048601c5762a$fe534060$42764eca@ilo.skyinet.net>
References:  <50401020510511701@webmail.iastate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Ryan Rathje " <mrsharky@iastate.edu>
To: <freebsd-net@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?048601c5762a$fe534060$42764eca>