[techtalk] SQUID PROXY THINGIE

Nils Philippsen nils at wombat.dialup.fht-esslingen.de
Sun Dec 10 19:04:00 EST 2000


Hi,

On Mon, 4 Dec 2000, mushu wrote:

> My ISP forces me to use their proxy; but i also want to use my own linux
> machine as a proxy (because i can only have 10GB of allowed network
> traffic a month). Can anyone tell me how to set up SQUID so that it runs
> as a proxy, but uses my ISPs proxy (proxy.pandora.be:8080) to connect to
> the internet, like this:
> 
> 	Me ---> MY PROXY ---> ISP PROXY ---> INTERNET
>            <---          <---           <---

in /etc/squid/squid.conf:

[...]
# Configure ISP's proxy
cache_peer proxy.pandora.be parent 8080 3130
[...]
# define your local net
acl from_local src 10.0.0.0/255.0.0.0
acl to_local_dns dstdomain your.local.domain.name
[...]
# if you have a local httpd, we don't want to cache it
always_direct allow to_local_dns
[...]
# everything else should be fetched from the ISP's proxy, not directly
prefer_direct off
[...]

If the ISP's proxy doesn't talk the ICP protocol for whatever reason, the
ceche_peer line should look like this:

cache_peer proxy.pandora.be parent 8080 8080 no-query

Be sure to read and understand the documentation shipped with squid,
e.g. in /etc/squid/squid.conf itself. Oh, and get yourself a proper ISP
that doesn't force you to use their proxy (which might or might not work).

Nils
-- 
 Nils Philippsen / Berliner Straße 39 / D-71229 Leonberg // +49.7152.209647
nils at wombat.dialup.fht-esslingen.de / nils at redhat.de / nils at fht-esslingen.de
   The use of COBOL cripples the mind; its teaching should, therefore, be
   regarded as a criminal offence.                  -- Edsger W. Dijkstra





More information about the Techtalk mailing list