Require Squid ACL's

Taking care of your Linux box.

Require Squid ACL's

Postby telenor » Fri Jun 18, 2010 2:50 pm

AOA,


I need following ACL's for Squid


Block Browsing from 9AM-5PM on specfic IP
192.168.1.10 192.168.1.11 192.168.1.12 192.168.1.13

Block Downloading from 9AM-5PM on whole network except 192.168.1.2 192.168.1.5
telenor
Havaldaar
 
Posts: 104
Joined: Tue Mar 29, 2005 11:08 am

Re: Require Squid ACL's

Postby TheOne4U » Tue Oct 12, 2010 5:33 pm

[quote="telenor"]AOA,


I need following ACL's for Squid


Block Browsing from 9AM-5PM on specfic IP
192.168.1.10 192.168.1.11 192.168.1.12 192.168.1.13

Block Downloading from 9AM-5PM on whole network except 192.168.1.2 192.168.1.5[/quote]

Try This and post the result here

### start ###
acl src nobrowsing 192.168.1.10/32 192.168.1.11/32 192.168.1.12/32 192.168.1.13/32

acl nodownload url_regex -i .exe .avi .mp3 .mp4 .rar .zip .cab .flv .wmv .wma .dll .bin

acl full src 192.168.1.2/32 192.168.1.5/32

acl DAY time 09:00-17:00

http_access deny nobrowsing nodownload DAY !full
http_access allow full DAY

### end ###

Hope This will work

TheOne4u
TheOne4U
Lance Naik
 
Posts: 19
Joined: Sat Sep 20, 2003 1:49 am
WLM: drcool@hotmail.com
Location: Karachi


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 2 guests

cron