robert wrote:
Obviously, this is a rather simple example. Here, anyone not in the privileged group can go to the google homepage, but that's it. Where I'm actually using it, it goes to a local web server that serves up a page which says "Quit trying to goof off and get back to work."

--start config--
dbhome /home/test/db
logdir /var/log/squidGuard

src privileged {
        ip      192.168.1.100 192.168.1.1 # ONE OF single clients
        ip      192.168.1.96
}

acl {
        privileged {
                pass all
        }
        default {
                pass none
                redirect http://www.google.com
        }
}
--end config--

On Tuesday 14 December 2004 09:05, Joseph Finley wrote:

robert wrote:

Yes, but are the pass none sections the default? That is the problem. I
should have been more clear. Without a redirect in the default section,
it doesn't work. I got burned by this when I first started playing with
squid guard.

On Monday 13 December 2004 19:40, C. Falconer wrote:

Don't think that's his problem... I have several "pass none" sections and
they work fine.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of robert
Sent: Tuesday, 14 December 2004 12:49 p.m.
To: Joseph Finley
Cc: [EMAIL PROTECTED]
Subject: Re: Why does this not work?


You need a redirect in the pass none section. Without a redirect statement, it doesn't work.

On Monday 13 December 2004 15:18, Joseph Finley wrote:

My PC is 192.168.207.86 and it's configured in FireFox for Proxy.  It
not only allows me, but every other PC.  I've combed the site and
Googled with no results or examples that work.  Help!?


------------------------------------------------------------------------ -- -

# squid.conf
redirect_program /usr/local/squidGuard/squidguard.sh
redirect_children 5

------------------------------------------------------------------------
-- -

[EMAIL PROTECTED] squidGuard]# cat squidguard.sh
#! /bin/sh -
exec /usr/local/bin/squidGuard -c
/usr/local/squidGuard/squidGuard.conf
[EMAIL PROTECTED] squidGuard]#


------------------------------------------------------------------------ -- -

[EMAIL PROTECTED] squidGuard]# cat squidGuard.conf
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db
#
#
#
src privileged {
       ip 192.168.207.86
       }

acl {
       privileged  {
             pass all
         }
     default {
          pass none
      }
    }

[EMAIL PROTECTED] squidGuard]#

Can you provide an example of what you mean? My default says to "pass none". I took that exaple from someone on the list. Copy/paste even.



Ok, that works?! So just putting in a redirect makes it work?! Thank you!

Reply via email to