Discussion Locked

Squid and Smartfilter

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
After installing squid and smartfilter and downloading the Control List, still squid and smartfilter are allowing porn and other block sites, what could be the reason....

1 reply

by linuxrich2000

------------------ 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.