Hi all,
Currently I have this setting:
dbhome /var/lib/squidguard/db
logdir /var/log/squidguard/

time workhours {
        weekly mtwhf 07:00 - 09:00 12:00 - 13:00 16:00 - 18:00 }

src staffs {
        ip      192.168.1.5
        ip      192.168.1.14 }

src bosses {
        ip      192.168.1.100
        ip      192.168.1.101 }

dest porn {
    domainlist porn/domains
    urllist porn/urls
    expressionlist  porn/expressions }

dest whitelst {
    urllist /etc/squid/whitelst
    domainlist /etc/squid/whitelstdom }

dest blacklstweb {
    urllist /etc/squid/whitelst
    domainlist /etc/squid/whitelstdom }

acl {
        bosses {
                pass !porn all
                redirect http://localhost/sorry.html }

        staffs within workhours {
                pass !porn all
                redirect http://localhost/sorry.html }

        default {
                pass whitelst none
                redirect http://localhost/sorry-time.html }
}

With the above acl, we are able to limit the staffs src group to browse the 
internet during the permitted hours only. And certain whitelst on all hours 
for all users.

But we also want some websites to be NOT ALLOWED (dest blacklstweb) during 
WORKHOUR for ALL users (bosses and staffs).
Can anyone help me with the ACL?

Thank you very much,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
15:29:27 up 5:26, 2.6.14-1.1653_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org

Reply via email to