[squid-users] deny access to everything except 2 domains

From: Philip Lehmann <philip@dont-contact.us>
Date: Sat, 20 Jul 2002 11:29:41 +0200

hi to all!
i'm very new to linux and squid (i'm using suse linux 8.0, squid 2.4 stable)
i would like to configure a proxy which does the following:

- cache nothing
- let access the whole intranet to only 2 webserver domains (i.e. yahoo.com
and foo.com)
  either on https or http

can anybody send me a working config file ? i tried it on my own but now
squid denies access to all websites, except with https. i found this on the
web but it doesn't work:

acl GOOD dst 1.2.3.4 #server's ip
acl BAD dst 0.0.0.0 - 0.0.0.0 #does this really denys access to all other
servers ?

http_access allow GOOD
http_access deny BAD

thanks in advance!
philip
Received on Sat Jul 20 2002 - 03:29:43 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:18 MST