I need to restrict the users with regard to their MAC addresses. Is it possible with Squid?

link|improve this question

75% accept rate
thanx @slhck it works – moon Oct 7 '11 at 11:58
feedback

1 Answer

up vote 2 down vote accepted

Looking at the Squid FAQ: Can I set up ACL's based on MAC address rather than IP?

You first need to compile Squid accordingly:

./configure --enable-arp-acl ...
make clean
make

… and then – for example – add these lines to squid.conf:

acl M1 arp 01:02:03:04:05:06
acl M2 arp 11:12:13:14:15:16
http_access allow M1
http_access allow M2
http_access deny all

These are only supported on *nix systems. If src/acl.c doesn't compile, this means it won't work.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.