LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-03-2011, 05:41 AM   #16
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1

hi
i clearly mention here pls look into same as below--
the acl gmail is used to block ,gmail,mail.rediffmail.com etc mention in acl below

acl gmail dstdomain .gmail.com
acl gmail dstdomain .gmail.google.com
acl gmail dstdomain .mail.google.com
acl gmail dstdomain .login.yahoo.com
acl gmail dstdomain .messenger.yahoo.com
acl gmail dstdomain .mail.rediff.com


the acl download is used to block ,indiatimes.com,hotmail etc

acl download url_regex -i "/etc/squid/download"

iwant to block ips 10,11,12,14,15 for acl gmail and download but want 13 to allow download acl and do not allow gmail acl

acl bar src 192.16.1.10-192.16.1.15/32
acl sudhir src 192.16.1.13/32

http_access deny gmail bar
http_access deny download bar
http_access allow bar
http_access deny gmail sudhir
http_access allow download sudhir
http_access allow sudhir
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid ACL uwa45 Linux - Networking 1 06-11-2010 01:30 PM
squid ACL andycol Linux - Server 8 10-31-2009 06:58 AM
squid acl Winanjaya Linux - Server 1 04-23-2009 12:03 PM
Squid acl help cgelectek Linux - Networking 3 11-11-2005 12:04 AM
Squid ACL dfctve_end_user Linux - Networking 2 01-13-2003 10:30 AM


All times are GMT -5. The time now is 04:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration