LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-22-2014, 03:30 AM   #1
akhilesh_03
LQ Newbie
 
Registered: Apr 2014
Posts: 23

Rep: Reputation: Disabled
Writing rule in Squid server


Hi all,

I have written a rule in squid server that blocks certain list of websites to all users.Now I want that some list of ips should be able to access all websites even blocked websites also.

Please help me how can I write this rule.



Thanks & Regards
Akhilesh
 
Old 08-22-2014, 10:12 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by akhilesh_03 View Post
Hi all,
I have written a rule in squid server that blocks certain list of websites to all users.Now I want that some list of ips should be able to access all websites even blocked websites also.

Please help me how can I write this rule.
You need to read the Squid documentation. Since you've already written an ACL to block websites, you need to write ANOTHER ACL to allow a certain set of users/address to access the blocked sites. Again, there is much that you can find if you try to look it up...this has been asked (and answered), MANY times on this site, and Google has much as well, along with the Squid documentation:
http://wiki.squid-cache.org/SquidFaq/SquidAcl
http://wiki.squid-cache.org/SquidFaq...C8-deny_mixups
http://wiki.squid-cache.org/SquidFaq...pecific_URL.3F
http://www.deckle.co.uk/squid-users-...operators.html
 
  


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
writing an iptable rule bassplayer Linux - Newbie 4 08-13-2014 07:08 AM
writing a udev rule file. rohaanembedded Programming 7 05-27-2013 03:09 AM
Help writing a Udev rule niknak Linux - Newbie 1 12-09-2009 09:22 PM
iptables rule to ignore squid proxy server satish Linux - Networking 4 07-02-2008 08:26 AM
Need Help Writing a Make Rule binarybob0001 Programming 1 05-27-2008 10:15 PM


All times are GMT -5. The time now is 08:38 PM.

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