Re: more transparent proxy and squid questions.

[ Available lists | Index of freebsd-questions | Month of Jun 2003 | Week of 13 Jun 2003 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Bill Moran <wmoran@potentialtech.com>
Date
13 Jun 2003 06:47:11
Subject
Re: more transparent proxy and squid questions.
Message-ID
3EE9D5DD.1090209@potentialtech.com

In reply to
References to

[ Hide this part ]
Andrew Thomson wrote:
> I'm not looking for help at setting this up as such, but rather a better
> understanding of what's happening to the packets in this situation.
>
> I have a freebsd firewall/gateway box.
>
> I then fwd the port 80 requests to the squid box on port 3128
>
> squid then i imagine process the request.. does squid then make the same
> http request with it's ip as the source?
>
> perhaps an illustration might be helpful.
>
> wall/gwy = 192.168.1.1
> squid = 192.168.1.2
> user = 192.168.1.3
>
> user makes an http request.
>
> ipfw rule on wall diverts to squid:
>
> ipfw add 50 fwd 192.168.1.2,3128 tcp from any to any 80
>
> does squid then make the request with it's ip?
>
> thus we'd need something like,
>
> ipfw add 45 allow tcp from 192.168.1.2 to any 80
>
> squid updates the cache/passes the data back to the user??

Yes. You've got the right idea.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


Elapsed time: 0.289 seconds