Re: Transparent proxy with FreeBSD

From: Julian Elischer <julian@dont-contact.us>
Date: Fri, 7 Aug 1998 14:40:39 -0700 (PDT)

there is an option to support transparent proxying in -current.
it is part of the ipfw code..

Peter wemm has a 2.2.x relative version of the code..

you do,
ipfw add 2 fwd 127.0.0.1,3128 tcp from any to any 80 recv in lan0 out wan0

where lan0 and wan0 probably ed0 and tun0 or similar.

your proxy server should be listenning on 3128

all requests being routed through that box to (anything) port 80
will be diverted to the local proxy listenning on 3128.

requests from the local box (e.g. from the proxy server (duh) will not
be changed.).

there are some changes that can be made to squid to make it work a BIT
better.

julian

On Fri, 7 Aug 1998, Andy wrote:

>
> I've been working on setting up a transparent proxy with FreeBSD for a
> little while now, and have run into trouble finding any clear examples
> of exactly how to set it up. The FAQ seems to focus on Linux and Solaris
> mostly, with only a link or two with FreeBSD info.
>
> I've seen mention of people using both natd and ipfilter to do this on
> the FreeBSD end, and I'm wondering if someone can point me in the
> right direction as to where I can find documentation on how to do this.
>
> If anyone would be willing to share configs from there setups, that would
> also be great.
>
> Thanks,
>
> Andy
>
> -----
> Andy Champagne
>
> andy@the-spa.com
> the spa! online services
> http://www.the-spa.com
> (413) 539-9818
>
>
>
Received on Fri Aug 07 1998 - 14:49:10 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:28 MST