Hi,
how can I say local hosts (192.168.1.0/24) can have only access to defined 
domains in internet? But special local hosts (192.168.2.0/24) should still 
have unlimited access. Also I wanna define those allowed domains in a file.

With help of the squid-documentation and older postings.... I guess this 
is okay:

acl specialhosts src 192.168.2.0/255.255.255.0
acl localhosts src 192.168.1.0/255.255.255.0
acl employee dstdomain "/etc/allowed.domains"
acl all src 0.0.0.0/0.0.0.0
http_access allow specialhosts
http_access allow localhosts employee
http_access deny all

And the file /etc/allowed.domains contains something like:
hospital.com
medical.com
doctors.org

Hmmm, does this work or is there a better way to achive this? 
How can I specify allowed subdomains or only allowed URL from a domain
(for example www.playcom.com/jokes_about_nurses.html)?
Examples or hints are welcome, thx!
-- 
M a r k   S e u f f e r t                             [EMAIL PROTECTED]
Pirates Communication                              http://www.pirate.de

Reply via email to