Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Proxy Server Support => Topic started by: Mallikarjun on October 06, 2010, 12:34:11 PM

Title: ACL using MAC Address
Post by: Mallikarjun 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?
Title: Re: ACL using MAC Address
Post by: netguy2000 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.