[plug] proxying

Greg Mildenhall greg at networx.net.au
Fri Nov 20 15:45:22 WST 1998


On Fri, 20 Nov 1998, Shackleton, Kevin wrote:
> I've been trying to set up squid for a couple of days now without
> success.  I can dial the ISP, and Netscape on the clients looks for port
> 3128 on the proxy server, but nothing much happens in between.
First thing is to narrow down whether the problem is happening on your
LAN, between you and your ISP, or out on the net at large.
The first step in the process is to see whether you are reaching a running
squid. Telnet to port 3128 from one of the client boxes, and feed it a
request like: 
GET http://slashdot.org/ HTTP 1.0 <ENTER><ENTER>
If anything at all comes back, then your LAN is not the problem.

So if you can make requests of squid, the question is why squid is unable
to respond to them. Try to make a web connection from the server to
somewhere out in the wild blue yonder, to determine whether it is possible
for squid to answer requests.

> Rather than put my effort into one problem, I have 2 hdd's that I have
> been working on, I swap them over when I get cheesed off with the lack
> of progress on one system!  One is RH5.2 and the other is Debian 2.0.2.
I'm more conversant with Debian, but it really does seem this is a generic
problem.


> I guess I've got basic settings wrong.  I changed the IP forwarding to
> true in RH but couldn't find the equivalent in Debian.  
No need for IP forwarding to run squid. Without masquerading, 
IP-forwarding wouldn't get you anywhere, anyway.
cat /proc/sys/net/ipv4/ip_forwarding.
1 means it's enabled, 0 disabled.

> I don't know what to set the DNS server to - when dialled in it would want
> to be the ISP's DNS (203.13.74.1) but does that cause a problem before we 
> have got a connection?
No it shouldn't. Launching squid without -D will cause it not to start if
it can't find the DNS, but you give me the impression that you know it is
running?

> If anyone's got a good to-do list, or can spare a Saturday arvo on the
> phone, it would be a big help . .
Yeah, that might be me. don't seem to have any plans.
Wherebouts are you? It might be easier if I dropped in or something.
(I still have scars from my days of telephone tech support)

-Greg Mildenhall



More information about the plug mailing list