LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-05-2013, 01:46 PM   #1
gary goff
LQ Newbie
 
Registered: Apr 2013
Posts: 2

Rep: Reputation: Disabled
squid3 ACL list


ok..so 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 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1

acl radio dstdomain www.pandora.com
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
acl CONNECT method CONNECT

http_access allow manager localhost
acl our_network src 170.15.105.0/24
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, 03: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
 
  


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


All times are GMT -5. The time now is 06:09 AM.

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