Re: [squid-users] blocking all destination domain except "www.bloomberg.com" and "www.bloomberg.de" .

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 03 Feb 2003 14:28:29 +0100

the sales acl should be without a netmask or /32 netmaks. (see output of
squid -k parse, if it says anything then you should pay attention)

Other than this you only need to deny access before where you allow.

acl sales 192.168.23.240-192.168.23.254
acl bloomberg dstdomain www.bloomberg.com www.bloomberg.de

http_access deny sales !bloomberg

Regards
Henrik

mån 2003-02-03 klockan 11.55 skrev Prabu Subroto:
> Dear my friends,
>
> I am using SuSE 8.1 and Squid as a proxy server.
>
> I want to block/deny all destination for sales except
> "www.bloomberg.com" and "www.bloomberg.de" .
>
> I have defined the group of my sales with this line :
> "
> acl sales src
> 192.168.23.240-192.168.23.254/255.255.255.0
> "
>
> But I don't know how to define blocking all
> destination domain except "www.bloomberg.com" and
> "www.bloomberg.de" .
>
> Thank you very much.
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Mon Feb 03 2003 - 06:28:36 MST

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