ACL to protect internal webservers ?

From: <Jan_Schreiber@dont-contact.us>
Date: Fri, 26 Jun 1998 13:39:52 +0200

I try to use Squid 1.0.22 on FreeBSD 2.2.2-RELEASE. Inside squid.conf, I
define an ACL for the hosts in my domain. I grand http_access to this acl,
and deny http_access to anyone else:

acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl SSL_ports port 443 563
acl CONNECT method CONNECT

acl santaclaus domain santaclaus.com

http_access allow manager santaclaus
http_access deny manager
http_access allow santaclaus
http_access deny all

since I dont want hosts outside my domain to access the cache *and use it
to see the
internal webservers*. This does not work. External hosts cannot use the
cache for external URL's,
but *can* access internal webservers at .santaclaus.com.

I don't know any more parameters for the http_access statement.

I could not learn the answer to this from the FAQ.

Thank you for any hints.
Received on Fri Jun 26 1998 - 04:42:23 MDT

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