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