1830194 Members
9936 Online
109999 Solutions
New Discussion

Mac address block

 
ADNAN AHMED
Occasional Advisor

Mac address block

i m using redhat linux 8 & squid. i have 40 user.I want to block user mac address so any tag in squid.conf file so pls reply me where i add tag in squid.
thanxz
adnan
1 REPLY 1
U.SivaKumar_2
Honored Contributor

Re: Mac address block

Hi,

For that you have to compile squid source with ARP modules enabled

#./configure --enable-arp-acl

and run make and make install

After sucessful compilation and installation

Edit squid.conf

add a acess control list as below


acl TESTACL arp xx:xx:xx:xx:xx:xx

Where xx:xx:xx:xx:xx:xx is the MAC address of any client computer which should in the same network.

This setup wont work for clients across router on different networks.

Then, put this line

http_access deny TESTACL

Save the file and start the Squid . That's it , the machine with the specified MAC address will be blocked web access.

regards,
U.SivaKumar



Innovations are made when conventions are broken