ipnat transparent www proxy question

Nathan Kinkade nkinkade at ub.edu.bz
Wed Feb 11 06:20:05 PST 2004


On Wed, Feb 11, 2004 at 11:21:36AM +0200, Markus Kovero wrote:
> I would like to do transparent www proxy for nat-network which is
> 172.16.0.0/24 and wwwproxy being $ispcache
> I told ipnat to do:
> rdr xl0 from 172.16.0.0/24 to any port = 80 -> $ispcache port 8080 tcp
> 
> but all www connections go straight through, not through cache.
> xl0 is LAN interface.
> 
> Any clue?
> 
> Markus Kovero

What is the output of `ipfw list`?  You should probably add a rule
something like the following just after your NAT divert rule:

$ ipfw add fwd $ispcache,8080 tcp from any to any dst-port 80 in

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040211/fce2bed5/attachment.bin


More information about the freebsd-questions mailing list