PANYIRI

SquidGuard



SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free. SquidGuard is published under GNU Public License.

#
# CONFIG FILE FOR SQUIDGUARD
#

dbhome /var/lib/squidguard/db
logdir /var/log/squid

src DEPA-SISTEMAS {
    ip       XXX.XXX.X.0 - XXX.XXX.X.3
}

src COMPANY-NET {
    ip       XXX.XXX.X.4 - XXX.XXX.X.255
}

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

acl {

DEPA-SISTEMAS {
   pass all
redirect http://info.foo.bar/cgi/blocked?

COMPANY-NET {
pass !porn all
redirect http://info.foo.bar/cgi/blocked?
}

default {

pass none
redirect redirect http://info.foo.bar/cgi/blocked?
    }

}



Attachments (1)

  • squidGuard.conf - on Jul 6, 2009 3:15 PM by Yair Sánchez Castillo (version 1)
    1k Download

Recent site activity