Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-12-2008, 07:07 AM   #1
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 &
So i created another acl as 'acldeny' & specified rule as

acl acldeny dstdomain
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
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 593

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

http_access deny acldeny
http_access allow manager localhost

for ex:-


# 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
http_acess deny acldeny


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 > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:37 PM.

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