From 5aae4192db719149353f8a6d9b3061e761e36fb7 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 17 Feb 2022 09:44:29 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20modified:=20config/squi?= =?UTF-8?q?dguard/squidGuard.conf=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/squidguard/squidGuard.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 } }