문제

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