Re: [squid-users] Another Question

From: Duane Wessels <wessels@dont-contact.us>
Date: Wed, 14 Mar 2001 11:13:16 -0700 (MST)

On Wed, 14 Mar 2001, Gabriel Toma wrote:

> I have a problem with my proxy.
> I am running squid-2.3STABLE4 on a Linux box with 2 interfaces on it.
> Both interfaces have real ip addresses. I tried to connect another
> network to this box. The network has provate ip addresses (10.1.1.0/24).
> I configured one of the box interfaces (an alias) eth0:1 with the ip
> address 10.1.1.1/24. In squid.conf I defined an access list like this :
> acl private_net 10.1.1.0/24. Next I set http_access allow private_net. I
> cannot figure out why squid says that access list private_net is not
> good (I do not remember exactly the error message).

"acl private_net 10.1.1.0/24" does not tell squid what *type* of ACL that
is. You want

    acl private_net src 10.1.1.0/24

        or

    acl private_net dst 10.1.1.0/24

depending whether you want to limit based on the client's IP
address, or the server's.
Received on Wed Mar 14 2001 - 11:13:17 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:38 MST