If you are trying to control access by IP Address, you should use Source Access-Lists.
You should add something like this to your squid.conf:
---------
acl allowedaddressrange src 192.168.0.1/255.255.255.0
acl anybodyelse src 0.0.0.0/0.0.0.0
http_access allow allowedaddressrange
http_access deny anybodyelse
---------
The above will allow access from the IP addresses 192.168.0.0 - 192.168.0.255, and deny access for all other IP addresses.
Have a look on the squid-cache website FAQ, there's more about it there.
Aaron
-----Original Message-----
From: "García García, Alberto" [mailto:agarciag@endesa.es]
Sent: 18 October 2002 09:25
To: 'squid-users@squid-cache.org'
Subject: [squid-users] Deny IP & SMB
Hi all, i try to deny the internet access from a few of Ip Adress.
But when the users try to access the authentication screen appear in the web
browser.
How can I configure squid in order to the autentication screen not
appear?
Thanks
Este mensaje de correo electrónico y sus documentos adjuntos están dirigidos
EXCLUSIVAMENTE a los destinatarios especificados. La información contenida
puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no necesariamente
refleja la opinión de ENDESA. Si usted recibe este mensaje por ERROR, por
favor comuníqueselo inmediatamente al remitente y ELIMÍNELO ya que usted
NO ESTA AUTORIZADO al uso, revelación, distribución, impresión o copia de
toda o alguna parte de la información contenida. Gracias.
This e-mail message and any attached files are intended SOLELY for the
addressee/s identified herein. It may contain CONFIDENTIAL and/or LEGALLY
PRIVILEGED information and may not necessarily represent the opinion of
ENDESA. If you receive this message in ERROR, please immediately notify the
sender and DELETE it since you ARE NOT AUTHORIZED to use, disclose,
distribute, print or copy all or part of the contained information. Thank
you.
Received on Fri Oct 18 2002 - 02:37:46 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:44 MST