Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 –  moon Oct 7 '11 at 11:58

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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