At the bottom is my squidGuard.conf,

In this I have a domain list called maps and a user list called maps. 
Users in the list userlist maps can only access the domains in the 
domainlist maps.

Aswell I have included the domainlist maps


squidGuard.conf:
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db

dest local {
          domainlist local/domains
}
dest blacklist {
        domainlist      blacklists/porn/domains
        urllist         blacklists/porn/urls
        expressionlist  blacklists/porn/expressions
        log             blacklist.log
        redirect 
302:http://garcia.prairiegroup.com/cgi-bin/squidGuard.cgi?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u
}
src fullaccess {
        userlist users/fullaccess
}
src maps {
        userlist users/maps
}
src  usearch {
        userlist users/search
}
dest dsearch {
        domainlist search/domains
}
dest maps {
        domainlist maps/domains
}
src cashpro {
        userlist users/cashpro
}
dest cashpro {
        domainlist cashpro/domains
}
src phone {
        userlist users/phone
}
dest phone {
        domainlist phone/domains
}
src getloaded {
        userlist users/getloaded
}
dest getloaded {
        domainlist getloaded/domains
}
src mcneiluscompanies {
        userlist users/mcneiluscompanies
}
dest mcneiluscompanies {
        domainlist mcneiluscompanies/domains
}
src tcresearch {
        userlist users/tcresearch
}
dest tcresearch {
        domainlist tcresearch/domains
}
src brick {
        userlist users/brick
}
dest brick {
        domainlist brick/domains
}
src credit {
        userlist users/credit
}
dest credit {
        domainlist credit/domains
}

acl {
        credit {
                pass credit none
        }       

        brick {
                pass brick none
        }

        tcresearch {
                pass tcresearch none
        }


        maps {
                pass maps none
                
        }
        

        usearch {
                pass dsearch none
                
        }
        
        cashpro {
                pass cashpro none
        }
        
        phone {
                pass phone none
        }

        getloaded {
                pass getloaded none
        }

        mcneiluscompanies {
                pass mcneiluscompanies none
        }


        fullaccess {
        pass in-addr !blacklist all
        }
         default {
              pass local in-addr !blacklist none
                redirect 
302:http://garcia.prairiegroup.com/cgi-bin/squidGuard.cgi?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u
 
                
        }
}



Domainslist maps

java.yahoo.com
maps.yahoo.com
mapquest.com
ads.web.aol.com
yp.yahoo.com
rd.yahoo.com
adserver.yahoo.com

Thanks,
Martin

Rob Randell wrote:

> Thanks Martin,
> 
> I'm pretty new to Squidguard.  Can you give me some example syntax on 
> that?  I really apreciatte the response.
> 
> Rob
> 
> -----Original Message-----
> From: Martin McWhorter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 14, 2001 9:32 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Setting Up Whitelists
> 
> 
> I do this regularly. We have a group of users that our C** only want to
> access maps on the net.
> 
> So we allow maps, deny all.
> 
> Of course maps is a list of domains like mapquest.com and maps.yahoo.com
> 
> Martin
> 
> Rob Randell wrote:
> 
>  > Is there a way to setup whitelists in Squidguard.  In other words, I
>  > have a list of sites that I only want my users to have access to and
>  > block them from all other sites.
>  >
> 
> 


Reply via email to