- Edit the squid configuration file is usually located in "/ etc / squid.conf"
- Then input the command line below
acl macrule arp "/path/to/mac-list/maclist"http_access allow
macrule #allow/deny
- Create a file its list of mac address
touch /path/to/mac-list/maclist
- Enter the list of his mac address
echo "00:C0:26:2A:8E:8D" >> /path/to/mac-list/maclist
- Reload squid
service squid reload
No comments:
Post a Comment