# 'squidGuard.conf' - sample configuration for squidGard installation on # SmoothWall GPL or related firewalls. # # By : Chris Lowth # Date : 17th May 2003 # Web site : http://www.lowth.com/sg4sw # # Released under the terms of the GNU General Public License, Version 2 (June # 1991) - see: http://www.lowth.com/sg4sw/COPYING.txt # NB: This sample configuration does NOT enable the use of all the blacklist # categories available in the squidGuard "blacklists.tar.gz" file. This # file only polices proxies, violence and porn. Check out the other # possible categories in /usr/local/squidGuard/db and edit this file to # enable them if you wish. #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!# # # # You *MUST* edit the IP address in the "redirect" option, near the bottom of # # this file - or it wont work properly # # # #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!# # # CONFIG FILE FOR SQUIDGUARD # dbhome /usr/local/squidGuard/db logdir /usr/local/squidGuard/log # # DESTINATION CLASSES: # dest proxy { domainlist dest/proxy/domains urllist dest/proxy/urls } dest violence { domainlist dest/violence/domains urllist dest/violence/urls expressionlist dest/violence/expressions } dest local { } dest porn { domainlist dest/porn/domains urllist dest/porn/urls expressionlist dest/porn/expressions } acl { default { pass !in-addr !proxy !violence !porn any # NOTE - EDIT REQUIRED HERE... # Change the "192.168.0.1" IP address, below to be the GREEN IP address # for your smoothwall, but leave the rest of the line untouched if you # are using my 'blocked' script (see http://www.lowth.com/sg4sw). redirect http://192.168.0.1:81/cgi-bin/blocked?clientaddr=%a+clientname=%n+clientident=%i+srcclass=%s+targetclass=%t+url=%u } }