Saturday, September 22, 2012

Squid And Mac Address

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

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger... .