Squid Blocking by mac address
Posted on 2007-11-16
I have to configure my squid to allowed and disallow user by mac address. Three files are involved "mac_full_access.acl", "mac_limited_access.acl" to where all mac addresses listed and "url_blocked.acl" for URLs. I want to restrict "mac_limited_access.acl" to access "url_blocked.acl". See my config below:
acl mac_full_access arp "/etc/squid/mac_full_access.acl"
acl mac_limi_access arp "/etc/squid/mac_limited_access.acl"
acl blocked_url url_regex "/etc/squid/url_blocked.acl"
http_access deny blocked_url !mac_full_access mac_limi_access
This config is not working... Still mac_limited_access.acl can access site listed in url_blocked.acl.