LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-08-2003, 06:24 PM   #1
razametal
LQ Newbie
 
Registered: Apr 2003
Location: Manta - Ecuador - South America
Distribution: Debian
Posts: 19

Rep: Reputation: 0
Arrow SQUID: ACL question


hi guys:

Im setting my squid-2.5.STABLE1-2, but my acls are not working:

#Recommended minimum configuration:
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl uleam src 192.168.1.0/255.255.255.0
acl porn url_regex "/home/admin/proxy/blacklists/porn/domains"
acl ads url_regex "/home/admin/proxy/blacklists/ads/domains"
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
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


# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS

# Exampe rule allowing access from your local networks. Adapt
# to list your (internal) IP networks from where browsing should
# be allowed
#acl our_networks src 192.168.1.0/24 192.168.2.0/24
#http_access allow our_networks

# And finally deny all other access to this proxy
http_access allow localhost
http_access allow uleam
http_access deny porn
http_access deny ads
http_access deny all


Squid is not blocking the ads and pr0n ....maybe my config is bad, can you help me ?

Regards,
 
Old 09-18-2003, 08:18 AM   #2
Arenba
Member
 
Registered: Sep 2003
Location: India
Distribution: Red Hat 8
Posts: 51

Rep: Reputation: 16
I haven't tried it myself yet, but I saw something here. Check it out.

http://web.onda.com.br/orso/
 
  


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
Squid acl help cgelectek Linux - Networking 3 11-11-2005 12:04 AM
do i need to ACL in squid.conf... razan Linux - Security 2 04-20-2005 07:42 AM
Squid ACL Question kemplej Linux - Security 5 08-03-2004 11:56 AM
Squid ACL zeroability Linux - Networking 2 01-13-2003 10:30 AM
Help me in Configuring Squid ACL tina_gora Linux - Networking 0 05-22-2001 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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