----- Original Message -----
From: "Sano B Rutsen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 01, 2001 11:57 PM
Subject: [plug] help.. special squid configuration...



>
> The thing here is that i need squid to be configured in a way
> that it will provide service to specific "ip range" at a
> "specific time"
>
> For ex.,
>
>  network 115.160.6.0 can only access the squid proxy from 4am-12am only,
>  network 172.168.11.0 can access the squid proxy from 10am-5pm only,
>  network 192.168.0.0 could access the squid proxy from 2am-10pm only,
>

try this. acl in your squid.conf

acl net1 src 115.160.6.0 /24
acl  net1_time time 04:00-12:00

acl net2 src 172,168.11.0/24
acl net2_time time 10:00-17:00

acl net3 src 192.168.0.0/24
acl net3_time time 02:00-20:00

http_access allow net1 net1_time
http_access allow net2 net2_time
http_access allow net3 net3_time
http_access deny all

i tried reading the squid.conf file specifically the acl section and
> find it too technical for me, (im a linux newbie)... And ive been
> searching different sites for clues, but again I find the sqquid acl too
> technical...

if the man/doc is too technical.. read again if still in doubt search at
www.google.com for examples.. :)
oh yeah you can ask here too for help


-Dek
[EMAIL PROTECTED]


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to