LinuxQuestions.org
Register a domain and help support LQ
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 12-18-2013, 03:09 AM   #1
anshoo
LQ Newbie
 
Registered: May 2013
Posts: 1

Rep: Reputation: Disabled
acl in squid server plz help


Hi all
i m in new in squid server and i have apply one acl in squid to restrict all website porn and games and gmail and all thing and i want to give some users to gmail and facebook .

acl bad_url dstdomain "/etc/squid/block"
http_access deny bad_url
to block all user in config file so what is next acl to apply some ip to allow gmail and facebook
 
Old 12-18-2013, 10:37 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,933

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Quote:
Originally Posted by anshoo View Post
Hi all
i m in new in squid server and i have apply one acl in squid to restrict all website porn and games and gmail and all thing and i want to give some users to gmail and facebook .

acl bad_url dstdomain "/etc/squid/block"
http_access deny bad_url
to block all user in config file so what is next acl to apply some ip to allow gmail and facebook
You need to read the squid documentation:
http://wiki.squid-cache.org/SquidFaq/SquidAcl

It has examples...did you try that? Since you can have multiple ACL's, you need to create one for the specific IP addresses, and allow them access to those sites.
 
  


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
ACL in Squid Server Koshal Linux - Newbie 10 01-23-2012 04:07 AM
Squid proxy server acl saifkasalam Linux - Server 2 08-06-2011 12:57 AM
Squid Proxy Server - Cannot Add ACL tzh Linux - Software 1 08-03-2007 02:52 AM
I want to by pass my proxy server's ACL i.e squid aTkAl^^PiTcHu Linux - Software 4 09-06-2006 03:16 PM


All times are GMT -5. The time now is 09:08 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