Код: Выделить всё
# CONFIG FILE FOR SQUIDGUARD
#
dbhome /var/lib/squidguard/db
logdir /var/log/squid
#
# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat
#time workhours {
# weekly mtwhf 08:00 - 17:30
# date *-*-01 08:00 - 17:30
#}
src admin {
ip 10.10.4.13 10.101.190.2 10.10.54.0/24 81.9.81.141 81.9.81.142
}
src clients {
ip 10.10.1.0/16
}
dest porn {
domainlist porn/domains
urllist porn/urls
redirect http://10.10.1.7/ads.html
}
dest soc {
domainlist soc/domains
urllist soc/urls
redirect http://10.10.1.7/ads.html
}
acl {
clients {
pass !soc !porn all
}
admin {
pass !porn all
}
default {
pass local none
redirect http://10.10.1.7/ads.html
}
}