This is my squid.conf
http_port 192.168.1.179:3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
redirect_program /usr/local/bin/squidGuard -c /stc/squid/squidGuard.conf
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
acl all src 192.168.1.0/255.255.255.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.0
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
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 CONNECT method CONNECT
acl Oficina src 192.168.1.1-192.168.1.40/255.255.255.0
acl Super src 192.168.1.91-192.168.1.180/255.255.255.0
http_access allow Super
#http_access allow all
icp_access allow all
cache_effective_user squid
cache_effective_group squid
log_icp_queries off
buffered_logs on
deny_info
http://192.168.1.188/Restricted.htm porn
And this is my squidGuard.conf
dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log
dest gambling{
log gambling
domainlist gambling/domains
urllist gambling/urls
}
dest warez{
log warez
domainlist warez/domains
urllist warez/urls
}
acl {
default {
pass all !gambling !warez all
redirect 302:
http://www.google.com
}
}