LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-12-2008, 07:07 AM   #1
Dnyanraj
LQ Newbie
 
Registered: Jul 2007
Posts: 16

Rep: Reputation: 0
Unhappy Restricting access using Squid3


I am trying to configure squid3 for a network,
i created an acl & allowed access to internet. (working fine)

Now i want to deny access to some sites.. say rediff.com & msn.com
So i created another acl as 'acldeny' & specified rule as

acl acldeny dstdomain .rediff.com .msn.com
http_acess deny acldeny


But still those sites are accessible from computers in n/w
can someone help me in this?
 
Old 12-13-2008, 08:39 AM   #2
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 579

Rep: Reputation: 30
Squid used to read the lines from the very first line to the last line of squid.conf. Place your acldeny line above the http_access allow

Code:
http_access deny acldeny
http_access allow manager localhost

for ex:-

Code:
#Default:

# http_access deny all
http_access deny acldeny
#
#Recommended minimum configuration:
#
# Only allow cachemgr access from localhost
http_access allow manager localhost
#http_access deny manager
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
Is acess a typo??? check it
Code:
http_acess deny acldeny
 
  


Reply

Tags
blocked, linux, proxy, security, squid3, ubuntu


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
Restricting access to Internet cooljai Linux - Networking 1 05-16-2007 05:35 AM
Restricting Root Access ??? jason_dustrose Linux - General 4 03-13-2007 12:15 PM
Restricting access Menestrel Linux - Newbie 1 06-07-2005 08:17 AM
Restricting Login Access wvrhlu Linux - Security 4 11-22-2004 12:15 PM
Restricting Developer Access DropHit Linux - General 1 11-12-2003 09:49 PM


All times are GMT -5. The time now is 04:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration