Dear Richard,
> I just started up Squid as a cache server. However, I would like to set it
> up to deny requests outside our domain. Where in the squid.conf would I make
> the changes?
>
In the squid.conf file you should define an ACL for your local domain
and ACL's for sibling hosts.. e.g.
acl all src 0.0.0.0/0.0.0.0 # All systems..
acl localnet src 131.211.0.0/255.255.0.0 # ACL for *.ruu.nl
acl hva src 145.92.18.2/255.255.255.255 # Sibling ACL for www.hva.nl
# Define http_access for your local hosts and sibling hosts..
http_access allow localnet
http_access allow hva
http_access deny all
# Reply to all ICP queries we receive
icp_access allow all
# force your neighbors to use you as a sibling instead of a parent.
miss_access allow all !hva
Cheers, Henny
-- ----------------------------------------------------------------------------- E-Mail: Henny.Bekker@cc.ruu.nl ! Disclaimer: The main obstacle to progress http http://www.ruu.nl/~henny ! progress is not ignorance,but PTT: Voice: +31 30 2536971 Fax: +31 30 2531633 ! the illusion of knowledge X400: /G=Henny/S=Bekker/OU=cc/O=ruu/PRMD=surf/ADMD=400net/C=nl o Paper: H.J.Bekker, Utrecht University, Computer Centre _ /- _ Po Box 80011, 3508 TA Utrecht Nederland (_) > (_) -----------------------------------------------------------------------------Received on Fri Apr 04 1997 - 15:59:34 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:56 MST