Squid Query 2nd Time

General discussion about PLUC and Linux in Pakistan.

Squid Query 2nd Time

Postby sasif » Fri Nov 25, 2005 12:33 am

Assalam-o-Alikum

sorry for Posting same query second time coz nobody reply except one.
Kindly guide me.
=============================================

I have some quries regaring squid Kindly guide me .

No-:1 I want to allow browsing from IP 192.168.0.10 To 192.168.0.10

with no restriction . I mean user can access any web site.

No-2. Allow browsing from IP 192.168.0.11 to 192.168.0.50 but users can

not access these sites like kaza.com, download.com and so on .

No-3. And no third is that users from IP 192.168.0.51 to 192.168.0.100

can not used internet.

Note: My Clients Using Windows 2000 Professional,XP and windos 98.
No body used Linux as a client.

Thnaks.

Dear Farrukh

I also try this which you have already posted but i am not success.


==========================================
I have to create ACL regaring squid Kindly guide me .

>> I want to allow browsing only Specific IPs

with no restriction

>> and another ACL that Allow browsing from to some other IPs that
has not access to some sites
please mension these ACL with Examples


Code:
acl client1 src 192.168.0.2
acl client2 src 192.168.0.2
. . . .
. . . .
. . . .
acl clientN src 192.168.0.N
httpd_access allow client1 client2 ... clientN
Syed Asif Mansoor
sasif
Cadet
 
Posts: 14
Joined: Wed Feb 09, 2005 12:21 am
WLM: asf_sad@hotmail.com
Yahoo Messenger: asf_sad@yahoo.com
Location: Karachi

Postby compucated » Fri Nov 25, 2005 3:46 pm

I want to allow browsing from IP 192.168.0.10 To 192.168.0.10
with no restriction . I mean user can access any web site.

acl superusers src 192.168.0.10-192.168.0.10
http_access allow superusers


Allow browsing from IP 192.168.0.11 to 192.168.0.50 but users can
not access these sites like kaza.com, download.com and so on .

acl restriced-users src 192.168.0.11-192.168.0.50
acl restricted-sites dstdomain .kazaa.com .download.com
http_access allow restricted-users !restricted-sites


And no third is that users from IP 192.168.0.51 to 192.168.0.100
can not used internet

acl blocked-users src 192.168.0.51-192.168.0.100
http_access deny blocked-users


regards
Hamid
compucated(at)msn(dot)com
compucated
Naik
 
Posts: 75
Joined: Mon Oct 13, 2003 5:06 am
WLM: compucated(at)msn(dot)com
Yahoo Messenger: activatedpower(at)yahoo(dot)com
Location: Karachi, Pakistan


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest

cron