Gentoo Archives: gentoo-server

From: Brett Curtis <dashnu@×××××.com>
To: Gentoo-Server <gentoo-server@l.g.o>
Subject: [gentoo-server] Squid Can not connect from Localhost.
Date: Fri, 03 Feb 2006 14:24:43
Message-Id: 1138976540.8694.3.camel@localhost
1 I have run into some problems with squid recently. This has been working
2 for months.. I have updated several things and am not sure when the
3 problem began exactly. I have a simple switched network set up with a
4 Transparent Squid Proxy.
5
6 Using the squid client I can not use the proxy from localhost. All
7 connections leaving my network behind the squid box work as expected.
8
9 I do have allow localhost in my configuration file.
10
11 acl allowed_hosts src 192.168.1.0/255.255.255.0
12 acl localhost src 127.0.0.1/255.255.255.255
13 acl to_localhost dst 127.0.0.0/8
14
15 # Allow the localhost to have access by default
16 http_access allow localhost
17 http_access allow our_networks
18 http_access allow Safe_ports
19
20 I really have no idea why I can not access squid.. This is causing some
21 issues with my ipsec/l2tp VPN for my windows users which also runs on
22 the same machine. They can connect out to the internet but can not
23 connect to any of our internal http sites.
24
25 Running the client i get the following errors.
26
27 The following error was encountered:
28
29 Forwarding Denied.
30
31 I am getting no blocked packets from my iptables.
32
33 And in my access.log I get.
34
35 1138975393.036 0 127.0.0.1 TCP_MISS/403 1443 GET
36 http://www.google.com - NONE/- text/html
37
38 Nothing strange in my cache logs.
39
40 Any help on this would be great.. My VPN users are pretty much screwed.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-server] Squid Can not connect from Localhost. Ow Mun Heng <Ow.Mun.Heng@×××.com>