Article View: comp.os.linux.security
Article #23Re: Squid&RH 7.0
From: Elem103
Date: Wed, 04 Apr 2001 05:25
Date: Wed, 04 Apr 2001 05:25
38 lines
2604 bytes
2604 bytes
"Chris King" <ChrisKing@start.com.au> wrote in message news:au4lctsqjdpvji52kuk6f7jsanqrdcrk55@4ax.com... > On Wed, 04 Apr 2001 08:06:26 +0500, maher <maher@mimos.my> wrote: > > >> If you want to run it as a > >> transparent proxy... you simply use prerouting to grab all packets on 80 > >> and send them to 3128 on squid... ;) > > > >BTW, how do you do that? is it using ipchains to redirect packets from > >80 to 3128? > > Isn't it easier to just tell squid to listen on port 80 as well? > > /etc/squid/squid.conf > http_port 3128 80 > > -Chris > Err.. no. Listening on port 80 is not the way to go. You have a traffic going from say, your computer in your local LAN to a web server NOT from your computer in your local LAN to your squid computer. In another word, your computer is not talking to the squid computer directly. eg. www.google.com <---> Your SQUID COMP <---> Your Computer If squid listens on port 80, it is not transparent. You have to configure "Your Computer" to use the proxy at your squid computer at port 80. Tranparent proxies are used by most ISPs to reduce the download bandwidth when users do not automatically select a proxy. =- Elem103
Technical Details
Message-ID:
<Ffyy6.2093$MM.88571@ozemail.com.au>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!europa.netcrusader.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!uunet!dca.uu.net!newsfeed.ozemail.com.au!ozemail.com.au!not-for-mailReferences:
<9acjfg$80u$1@perki.connect.com.au> <LPky6.7727$mA.2347044@newsrump.sjc.telocity.net> <3ACA8FB2.ADA69A68@mimos.my> <au4lctsqjdpvji52kuk6f7jsanqrdcrk55@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,601f652b2a7b255f X-Google-Attributes: gid102983,public X-Google-Thread: f9b51,601f652b2a7b255f X-Google-Attributes: gidf9b51,public X-Google-Thread: 106e9e,601f652b2a7b255f X-Google-Attributes: gid106e9e,public X-Google-ArrivalTime: 2001-04-03 22:31:53 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!europa.netcrusader.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!uunet!dca.uu.net!newsfeed.ozemail.com.au!ozemail.com.au!not-for-mail From: "Elem103" <elem103@smokey.aic.net.au> Newsgroups: comp.os.linux.security,comp.os.linux.setup,aus.computers.linux References: <9acjfg$80u$1@perki.connect.com.au> <LPky6.7727$mA.2347044@newsrump.sjc.telocity.net> <3ACA8FB2.ADA69A68@mimos.my> <au4lctsqjdpvji52kuk6f7jsanqrdcrk55@4ax.com> Subject: Re: Squid&RH 7.0 Lines: 40 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <Ffyy6.2093$MM.88571@ozemail.com.au> NNTP-Posting-Host: h94.unit21.ozemail.com.au X-Trace: ozemail.com.au 986361957 203.108.13.94 (Wed, 04 Apr 2001 15:25:57 EST) NNTP-Posting-Date: Wed, 04 Apr 2001 15:25:57 EST Organization: OzEmail Ltd, Australia Distribution: world Date: Wed, 4 Apr 2001 15:25:56 +1000