Question

Hi Please let me know how to filter internet access with MAC address on Squid....

Was it helpful?

Solution

In /etc/squid/squid.conf add some acls:

acl mac_addr1 arp ff:ff:ee:aa:00:00
acl mac_addr2 arp 00:11:22:33:44:55
http_access allow mac_addr1
http_access allow mac_addr2
http_access deny all

This examples allows http_access only to mac_addr1 and mac_addr2.

You must have compiled squid with mac support. In order to do this add –enable-arp-acl to configure command.

See this for more details.

OTHER TIPS

Here are some more rules about MAC based filtering here.

http://tecadmin.net/configure-squid-proxy-server-mac-address-based-filtering/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top