Friends,
I have problems with ACL Rules in Squid 2.2.
Look this following:
# ACCESS CONTROLS
#
-------------------------------------------------------------------------
----
#Defaults - SP
acl all src 0.0.0.0/0.0.0.0
# here i write this rule fpr all users, and i want to allow acl internet
to navigate without restrictions...
acl proibidos url_regex "/usr/local/squid/etc/proibidos.txt" !internet
<< is correct?
acl liberados dstdomain "/usr/local/squid/etc/liberados.txt" << here
the file with words to block
acl intranet dstdomain intra.spnet.com.br rh.spcorp.com.br
acl spnet src 192.20.0.0/255.255.0.0
acl spnetdeny src "/usr/local/squid/etc/navdeny.txt" << here IPīs to
navigate with restrictions
acl internet src "/usr/local/squid/etc/internet.txt"
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl CONNECT method CONNECT
#Default configuration:
http_access allow spnetdeny intranet
http_access deny proibidos << in this mode i block all to navigate on
sites prohibited
http_access allow spnet !spnetdeny
http_access allow internet
http_access deny all
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
icp_access allow all
miss_access allow all
Problem:
There are IPīs of range 192.20.x.x that i have to allow navigating on
Internet without restrictions, but iīm not creating this rule because i
donīt know.
I tried a following configuration:
http_access allow all internet
But it was wrong.
I grated for your attention.
Thanks
Edmilson
Received on Fri Apr 28 2000 - 16:23:54 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:06 MST