diff --git a/config/squidguard/squidGuard.conf b/config/squidguard/squidGuard.conf index 4377de8..7b44e14 100644 --- a/config/squidguard/squidGuard.conf +++ b/config/squidguard/squidGuard.conf @@ -1,13 +1,16 @@ dbhome /data/squidguard/db -logdir /data/log +logdir /data/log/squid + dest adv { domainlist adv/domains urllist adv/urls } + dest aggressive { domainlist aggressive/domains urllist aggressive/urls } + dest porn { domainlist porn/domains urllist porn/urls @@ -16,17 +19,20 @@ dest spyware { domainlist spyware/domains urllist spyware/urls } + dest violence { domainlist violence/domains urllist violence/urls } + dest warez { domainlist warez/domains urllist warez/urls } + acl { default { pass !adv !aggressive !porn !spyware !violence !warez all - redirect REPLACE_ADDR?clientaddr=%a+clientname=%n+clientuser=%i+clientgroup=%s+targetgroup=%t+url=%u + redirect https://REPLACE_ADDR?clientaddr=%a+clientname=%n+clientuser=%i+clientgroup=%s+targetgroup=%t+url=%u } }