Squid - can't access through proxy

This is Interesting: Free IT Magazines  
Home > Archive > Squid > August 2006 > can't access through proxy





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author can't access through proxy
Ender

2006-07-30, 1:15 am

Hey all,

I just installed squid and I'm having a problem trying to browse by
using squid as my http proxy. I get the following error ...

The connection was refused when attempting to contact localhost:8080.

I followed many config tutorials and just did the basics and my
squid.conf looks like ...

[code]
http_port 8080
icp_port 0

#acl INTERNAL src 192.168.0.0/24 192.168.1.0/24 192.168.2.0/24
#acl INTERNAL src 192.168.0.0/255.255.0.0

acl INTERNAL src 192.168.1.10/255.255.255.255
http_access allow INTERNAL

#acl AUTHUSERS proxy_auth REQUIRED
#http_access allow INTERNAL AUTHUSERS
[/code]

The server starts fine, but no matter how I change my rules, I keep
getting connection refused errors. I'm trying to access squid from the
same local machine.

My access.log has been getting entries like this ...

1154202782.535 2 192.168.1.10 TCP_DENIED/400 1484 GET / - NONE/-
text/html
1154202782.646 0 192.168.1.10 TCP_DENIED/400 1506 GET /favicon.ico
- NONE/- text/html
1154202782.738 0 192.168.1.10 TCP_DENIED/400 1506 GET /favicon.ico
- NONE/- text/html

But now when I try it, I don't even see these entries showing up
anymore.

Any help much appreciated.

Ender

2006-07-30, 1:15 am

Also, I tried the client program and got this when trying to test it.

$ client -p 8080 google.com
Error in function NSS_Init: -8192
- An I/O error occurred during security authorization.

Gops

2006-08-01, 1:13 pm

hi,

try different port number as 3128 instead of 8080

Ender wrote:
> Also, I tried the client program and got this when trying to test it.
>
> $ client -p 8080 google.com
> Error in function NSS_Init: -8192
> - An I/O error occurred during security authorization.


Gops

2006-08-01, 1:14 pm

and one more thing u have to allow the src that u have defined in the
above INTERNAL...

Ender wrote:
> Also, I tried the client program and got this when trying to test it.
>
> $ client -p 8080 google.com
> Error in function NSS_Init: -8192
> - An I/O error occurred during security authorization.


Ender

2006-08-02, 1:14 am

I've tried both ports w/ the client cmd as well as the browser and get
the same results.

Gops wrote:[vbcol=seagreen]
> hi,
>
> try different port number as 3128 instead of 8080
>
> Ender wrote:

Ender

2006-08-02, 1:14 am

Guess I don't understand, I specifically say the port is 8080 (but have
changed and tried both), and I have the INTERNAL src as listed as
allowed. Why would that not be right?

Gops wrote:[vbcol=seagreen]
> and one more thing u have to allow the src that u have defined in the
> above INTERNAL...
>
> Ender wrote:

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com