Article View: comp.os.linux.security
Article #22Re: Squid&RH 7.0
From: Adam Moore
Date: Wed, 04 Apr 2001 03:41
Date: Wed, 04 Apr 2001 03:41
20 lines
1759 bytes
1759 bytes
>>> 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?
Not transparent, lusers would have to update settings. Chains syntax would be
something like:
ipchains -A input -i <interface> -p tcp \
-d 0.0.0.0/0 80 -j REDIRECT 3128
You might like to have a look at the following:
http://rpmfind.net/linux/mdw/HOWTO/mini/TransparentProxy.html#toc5
-- adm
Technical Details
Message-ID:
<slrn9cl655.p3g.adam@foo.sweet.as>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!news.tig.com.au!adamReferences:
<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: f9b51,601f652b2a7b255f X-Google-Attributes: gidf9b51,public X-Google-Thread: 102983,601f652b2a7b255f X-Google-Attributes: gid102983,public X-Google-Thread: 106e9e,601f652b2a7b255f X-Google-Attributes: gid106e9e,public X-Google-ArrivalTime: 2001-04-03 20:44:02 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!news.tig.com.au!adam From: adam@foo.sweet.as (Adam Moore) Newsgroups: comp.os.linux.security,comp.os.linux.setup,aus.computers.linux Subject: Re: Squid&RH 7.0 Date: 4 Apr 2001 03:41:39 GMT Organization: The Internet Group (Sydney) Lines: 20 Message-ID: <slrn9cl655.p3g.adam@foo.sweet.as> References: <9acjfg$80u$1@perki.connect.com.au> <LPky6.7727$mA.2347044@newsrump.sjc.telocity.net> <3ACA8FB2.ADA69A68@mimos.my> <au4lctsqjdpvji52kuk6f7jsanqrdcrk55@4ax.com> NNTP-Posting-Host: foo.sweet.as X-Trace: bugstomper.ihug.com.au 986355699 9127 203.109.250.126 (4 Apr 2001 03:41:39 GMT) User-Agent: slrn/0.9.6.2 (Linux)