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

有帮助吗?

解决方案

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.

其他提示

Here are some more rules about MAC based filtering here.

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top