Hello Fernando Medina,
In the file /usr/local/squid/etc/autorizados ,
10.0.0.1/255.255.255.255
10.0.0.2/255.255.255.255
etc...
Instead of these , Sure , you can have
10.0.0.1-10.0.0.25/255.255.255.255 like this also.
Regards,
-Kanchana
squid@visolve.com
www.visolve.com
----- Original Message -----
From: "Fernando Medina" <fmedina@nic.pibnet.com>
To: <squid-users@squid-cache.org>
Sent: Saturday, December 15, 2001 3:52 AM
Subject: [squid-users] problem with acl, doesn't seem to work...
> This is very odd, the acl does not seem to apply, every IP gets through,
> instead of only the ones in my file:
>
> From squid.conf:
>
> acl all src 0.0.0.0/0.0.0.0
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
> acl SSL_ports port 443 563
> acl Safe_ports port 80 21 403 443 563 70 210 1025-65535
> acl Safe_ports port 280 # http-mgmt
> acl Safe_ports port 488 # gss-http
> acl Safe_ports port 591 # filemaker
> acl Safe_ports port 777 # multiling http
> acl CONNECT method CONNECT
> acl el_salvador src "/usr/local/squid/etc/autorizados"
>
> http_access allow manager localhost
> http_access allow el_salvador
> http_access allow Safe_ports
> http_access deny manager
> #http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> #
> # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
> #
> http_access deny all
>
> In the file /usr/local/squid/etc/autorizados I have ips in format:
> 10.0.0.1/255.255.255.255
> 10.0.0.2/255.255.255.255
> etc...
>
> everyone gets through and I was wondering can I specify a range like
> 10.0.0.1-10.0.0.25 or something liek that, thanks,
>
>
> --
> Fernando Medina, Jr.
> fmedina@nic.pibnet.com
> Grupo Financiero UNO
Received on Fri Dec 14 2001 - 20:07:37 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:21 MST