Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
thanx @slhck it works – Badr uz Zaman Oct 7 '11 at 11:58
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

… 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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .