Search squid archive

access control problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

I'm trying to block a all my users to use the internet except for a few of them. I'm trying to do this with acl but, is not working. Here's part of the squid.conf:

# Port Squid listens on
http_port 172.16.0.1:3128 transparent

# Access-lists (ACLs) will permit or deny hosts to access the proxy
acl lan-access src 172.16.0.0/16
acl proxy src 172.16.0.1
acl localhost src 127.0.0.1

acl CONNECT method CONNECT

acl allowed src "/etc/ipaddress/ipAllowed"

# Access rule
http_access allow proxy
http_access allow localhost

#---- Block some sites

acl blockanalysis01     dstdomain .scorecardresearch.com .google-analytics.com
acl blockads01          dstdomain .rad.msn.com ads1.msn.com ads2.msn.com ads3.msn.com ads4.msn.com
acl blockads02          dstdomain .adserver.yahoo.com pagead2.googlesyndication.com ad.yieldmanager.com
acl blockads03          dstdomain .doubleclick.net
http_access deny blockanalysis01
http_access deny blockads01
http_access deny blockads02
http_access deny blockads03

#######################################

http_access allow allowed
#http_access allow lan-access


---------
in ipAllowed there are 4 ip addresses:

172.16.250.1
172.16.250.12
172.16.254.13

Everyone is allowed to the internet.

What am I doing wrong?

Any suggestions.



      

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux