Andrei-Florian Staicu wrote:

Hello.
Excercpt from squidGuard intro:
limit the web access for some users to a list of accepted/well known web servers and/or URLs only

Well, I gave up searching Google for an example of this, so I though you guys could help me.
Here's my squidGuard.conf (which I know it's wrong):

dbhome /var/lib/squidGuard
logdir /var/log/squid

src otopeni {ip  192.168.3.0/24}
src gida {ip 10.0.0.0/24}
dest allowgida {domainlist allowgida}

acl {
       gida {pass !allowgida none
              redirect http://192.168.3.1}
      gida {pass allowgida all}
  otopeni {pass all}
  default {pass none
      redirect http://192.168.3.1}
}

In short, I want src gida to be limited to certain domains.

Thanks in advance for any suggestion.

Hi Andrei-Florian,

Here is the ACL I would test to solve your problem :

acl {
     gida {pass allowgida none}
     otopeni {pass all}
     default {pass none
             redirect http://192.168.3.1}
}

Cheers,
--
Maxime.
Savoir-faire Linux Inc
http://www.savoirfairelinux.com

Reply via email to