muenchhausen / docker-squidguard

squidGuard extension to sameersbn/docker-squid
MIT License
16 stars 9 forks source link

Squidguard not works #6

Open nesmaba opened 1 year ago

nesmaba commented 1 year ago

Hi! I've configured my squidguard container equals than yours but any web page is blocked. The access.log have all connections I do but any web page is blocked.

My file structure: drwxrwxr-x 5 tic tic 4096 Mar 10 11:27 ./ drwxrwxr-x 6 tic docker 4096 Mar 10 10:42 ../ -rw-r--r-- 1 tic tic 63 Mar 10 09:50 block.html -rw-rw-r-- 1 tic tic 551 Mar 10 11:19 docker-compose.yml drwxr-xr-x 3 proxy proxy 4096 Mar 10 11:19 my-config/ drwxr-xr-x 2 proxy proxy 4096 Mar 9 11:12 mylog/ drwxr-xr-x 2 tic tic 4096 Mar 10 10:27 sample-config-blacklist/ -rwxr--r-- 1 root root 2227 Mar 10 09:07 startSquidGuard*

My docker-compose.yml

services: squidguard: image: muenchhausen/docker-squidguard:latest environment:

My squidGuard.conf:

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

dest topcolegio { domainlist /custom-config/domains urllist /custom-config/urls expressionlist /custom-config/expressions }

acl { default { pass !topcolegio all redirect ../block.html } }

My my-config folder:

drwxr-xr-x 3 proxy proxy 4096 Mar 10 11:19 ./ drwxrwxr-x 5 tic tic 4096 Mar 10 11:27 ../ -rwxr-xr-x 1 proxy proxy 4483 Mar 10 11:17 domains* -rwxr-xr-x 1 proxy proxy 117 Mar 10 11:17 expressions* -rw-r--r-- 1 proxy proxy 559 Mar 10 11:19 squidGuard.conf drwxr-x--- 2 proxy proxy 4096 Mar 10 11:11 topcolegio/ -rwxr-xr-x 1 proxy proxy 275 Mar 10 11:17 urls* access.log inside of mylog, capture all traffic but any domain of domains is blocked.

Can you help me?