March 19, 2024, 04:28:08 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: ACL using MAC Address  (Read 9811 times)

Offline Mallikarjun

  • New Member
  • Posts: 1
ACL using MAC Address
« on: October 06, 2010, 12:34:11 PM »
Hi All,

I am new to the Linux Field, kindly help me on how to configure general proxy with MAC Address for 'n' no. of  users?
« Last Edit: October 06, 2010, 01:01:10 PM by Mallikarjun »

Offline netguy2000

  • Linux Noob !
  • *
  • Posts: 4
Re: ACL using MAC Address
« Reply #1 on: January 21, 2011, 08:23:51 AM »
first you have to compile your proxy with ACL support.
e.g.
./configure --enable-delay-pools --enable-linux-netfilter --enable-arp-acl --disable-ident-lookups --enable-snmp --enable-removal-policies

( in upper configuration line --enable-arp-acl enables your squid proxy to support MAC address access list)
 then

use following command in your access list to create access list with mac address.

acl maclist arp "/usr/local/squid/etc/maclist.txt"

(in upper line "maclist" is the name of access list and arp is for mention that this access list is for MAC addresses , and in qoutes "/usr/local/squid/etc/maclist.txt" , maclist.txt is the file which contain your mac addresses, on mac address per line.)

Hope this will help you.