Link to home
Start Free TrialLog in
Avatar of marvelsoft
marvelsoftFlag for Philippines

asked on

Squid Blocking by mac address

Hi Experts,

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.

Please help.


Thanks.

Avatar of yhetti
yhetti

Would it perhaps work if you changed the order up a bit?

http_access allow blocked_url mac_full_access
http_access deny blocked_url mac_limi_access
ASKER CERTIFIED SOLUTION
Avatar of ixti
ixti
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forced accept.

Computer101
EE Admin