Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-05-2013, 12:46 PM   #1
gary goff
LQ Newbie
Registered: Apr 2013
Posts: 2

Rep: Reputation: Disabled
squid3 ACL list i have my squid set up and configured but now i need to add some ACL arguements to it to block some sites for all users on our network...however...i cant seem to get it to block. squid is still routing but not blocking the sites...i think im missing something but i cant tell..could someone help me out? here is the acl samples from the oonfig file:

acl manager proto cache_object
acl localhost src ::1
acl to_localhost dst ::1

acl radio dstdomain
acl radio2 url_regex radio
acl facebook url_regex facebook
acl youtube url_regex youtube

acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http

http_access allow manager localhost
acl our_network src
http_access allow our_network
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

http_access deny facebook
http_access deny radio
http_access deny radio2
http_access deny youtube

http_access allow localhost
http_access deny all

thanks all
Old 04-05-2013, 02:30 PM   #2
gary goff
LQ Newbie
Registered: Apr 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
SOLVED: allow statements were moved to below the deny statements and it works perfectly


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
[SOLVED] squid3 acl's jat421 Linux - Newbie 11 05-29-2012 12:42 AM
time based acl dosent work-squid3 alieblice Linux - Server 2 03-29-2012 08:49 AM
When could one use ACL (Access Control List) in Linux? Bindestreck Linux - General 1 08-25-2011 08:43 AM
[SOLVED] Squid3 Deny all traffic (Ignoring ACL) pliqui Linux - Server 3 02-18-2010 02:24 PM
unable to correctly set up the acl list in squid adityavpratap Slackware 3 07-16-2009 05:18 AM > Forums > Linux Forums > Linux - Newbie

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