1 reply
------------------ SNIP -----------------
# CONFIGURATION DIRECTORIES
dbhome /usr/share/squidGuard-1.2.0/blacklists # directory that contains the
url lists
logdir /var/log/squidGuard
# SOURCE ADDRESSES: (IP addresses of the users
# just an example of one
src lancomputers {
iplist lancomputers/ips
}
# DESTINATION CLASSES:
# only the porn class shown here: where squidGuard should look for the
# porn URLs and domain names that are banned.
dest porn {
domainlist porn/domains
urllist porn/urls
redirect http://www.google.ca
log /var/log/squidGuard/badurls.log
}
# ACLs (access control lists) - ip addresses defined above
lancomputers {
pass !porn all
redirect http://www.google.ca # or page of your choice
}
default {
pass none
redirect http://www.google.ca # or page of your choice
}
-------------------- END ---------------------
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending