You can do it based on MAC address, there is an ACL that deals with MAC addresses, check
squid.conf file , it has an explanation on how to use this type of ACLs in the ACL section
Main Topics
Browse All TopicsHello
I'm looking for some advise as of how to setup SQUID 2.7 (running with default settings at the moment on an ubuntu server) to serve a only a limited set of machines out of the local network. If possible I'd like to avoid user / pass authentication but base it either on the MAC address of the client or a dyndns host name.
Is this possible ?
Regards
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
To use MAC address in ACL rules. Configure with option -enable-arp-acl.
acl all src 0.0.0.0/0.0.0.0
acl allow_host arp 00:08:c7:9f:34:41
http_access allow allow_host
http_access deny all
Just out of interest, why are you going about doing this? Do all clients have the proxy server configured and you're attempting to block all users except some..?
Business Accounts
Answer for Membership
by: piezzaPosted on 2009-11-04 at 14:35:11ID: 25744810
I think you must do heavy iptables based filtering to archieve this. Maybe it is better to place the machines in an own subnet. Why don't you split your network?