Websites Blocking

General discussion about PLUC and Linux in Pakistan.

Websites Blocking

Postby M.anwar » Wed Nov 29, 2006 5:16 pm

anybody can tell me,

how to deny some websites from the squid (squid.conf)?
Thanks
M. Anwar
M.anwar
Cadet
 
Posts: 3
Joined: Wed Nov 22, 2006 5:33 pm
Website: http://www.instaphone.com
WLM: Rock_Brave@hotmail.com
Yahoo Messenger: Anwer_Jalil@yahoo.com
Location: Karachi

Postby kbukhari » Wed Nov 29, 2006 5:27 pm

acl bsite dstdomain .yahoo.com
http_access deny bsit
http_access allow <lan acl>
--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com
kbukhari
Major General
 
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Website: http://kashifbukhari.com
Location: Lahore

Postby Saad Khan » Thu Nov 30, 2006 12:27 am

Saad Khan
Company Havaldaar Major
 
Posts: 155
Joined: Sun Jun 11, 2006 6:19 pm
Location: Karachi

Postby irfanbhatti » Fri Dec 01, 2006 10:58 am

acl all src 192.168.0.0/255.255.255.0(your Lan)
acl apniisp dstdomain www.apniisp.com www.emusic.com
http_access deny apniisp
http_access allow all(Allowing your Lan)
Muhammad Irfan
03335246272
irfanbhatti
Havaldaar
 
Posts: 145
Joined: Fri Jun 03, 2005 12:19 pm
Yahoo Messenger: capricorn201_4u
Location: Rawalpindi Islamabad

Postby kbukhari » Fri Dec 01, 2006 11:06 am

Dear irfanbhatti

i would like to advoice you to do not change acl all src 0.0.0.0./0
and always add a new asl for your lan i.e acl lan src 192.168.0.0/24


and defulat deny all and allow lan befor deny all
--

Syed Kashif Ali Bukhari

+92-345-8444420

http://sysadminsline.com

http://kashifbukhari.com
kbukhari
Major General
 
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Website: http://kashifbukhari.com
Location: Lahore

Easiest way to block URL...

Postby Abdul Wajid » Fri Dec 08, 2006 5:27 pm

acl BlockURL url_regex -i sample.com
http_access deny BlockURL
Abdul Wajid
Lance Naik
 
Posts: 43
Joined: Wed Nov 08, 2006 12:42 am
Website: http://www.plugin.com.pk
WLM: awajid4u@hotmail.com
Yahoo Messenger: click2vauli@yahoo.com
Location: Karachi


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 2 guests