Установил SquidGuard на домашний роутер/сервер/фалопомойку. В конфигах прописал, как насоветовано было. И-нет пропал совсем, но пинги до сайтов c локальных машин ходят нормально, следовательно Squid не работает. Что я сделал не так?
squid.conf
#acl section:
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl localnet src 192.168.0.0/24 # RFC1918 possible internal network
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
# http_acces section
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
http_access allow localnet
http_access allow localhost
# And finally deny all other access to this proxy
http_access deny all
#Allow ICP queries from local networks only
icp_access allow localnet
icp_access deny all
# Squid normally listens to port 3128
http_port 8888 transparent
#We recommend you to use at least the following line.
hierarchy_stoplist cgi-bin ?
#Default:
cache_mem 128 MB
#Default:
cache_dir ufs /var/spool/squid 10000 64 256
#Default:
# maximum_object_size 20480 KB
maximum_object_size 20480 KB
access_log /var/log/squid/access.log squid
#Suggested default:
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880
# example line deb packages
#refresh_pattern (\.deb|\.udeb)$ 129600 100% 129600
refresh_pattern . 0 20% 4320
# Don't upgrade ShoutCast responses to HTTP
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
upgrade_http0.9 deny shoutcast
# Apache to signal ETag correctly on such responses
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
#Default:
# hosts_file /etc/hosts
#
hosts_file /etc/hosts
# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid
redirect_program /usr/bin/squidGuard
redirect_children 5
redirector_bypass on
squidguard.conf
#
# CONFIG FILE FOR SQUIDGUARD
#
dbhome /var/lib/squidguard/db
logdir /var/log/squid
src clients {
ip 192.168.0.2-192.168.0.250
}
dest local {
}
dest adv {
domainlist adv/domains
urllist adv/urls
redirect
http://localhost/block.html}
rewrite {
}
acl {
default {
pass !adv
}
}
acl {
default {
pass !adv all
}
}
Базу squidguard создавал команлой sudo squidGuard -d -C all, ошибок выдано не было. Где-то в конфиге squidguard накосячил. Вот только где?