Re: [squid-users] access list

From: Abu Khaled <[email protected]>
Date: Thu, 7 Jul 2005 09:26:20 +0300

On 7/7/05, Eganya Alfredo <eganyaalfredo@yahoo.es> wrote:
> Hello,
> it�s my first post :D
>
> i�m trying to allow access from a machine to a
> specific destination, without block all another
> trafic, here is my configuration
>
> acl pmaticos src 120.1.1.54/255.255.255.255
> acl aza dstdomain aza.cl
> acl all src 0.0.0.0/0.0.0.0
> http_access allow pmaticos aza
> http_access deny all
>

I am not sure what you want to do but let me try !!!
according to you ACLs
1. user pmaticos can only access the domain aza.cl
2. all other requests are denied.

The Question now is what do you want to do ?

* user pmaticos can access the domain aza.cl
* all other denied access to aza.cl
* allow access for remaining requests

acl pmaticos src 120.1.1.54/255.255.255.255
acl aza dstdomain aza.cl
acl all src 0.0.0.0/0.0.0.0
http_access allow pmaticos
http_access allow all !aza
http_access deny all

Can you provide more information?
Like who should access what !

-- 
Regards.
Abu Khaled
Received on Thu Jul 07 2005 - 00:33:36 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT