| Author |
can't access through proxy
|
|
|
| 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.
| |
|
| 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.
| |
|
| 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.
| |
|
| 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.
| |
|
| 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:
| |
|
| 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:
|
|
|
|