LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Help for Squid 3.5 with mac address acl (https://www.linuxquestions.org/questions/linux-server-73/help-for-squid-3-5-with-mac-address-acl-4175536843/)

anichhatre 03-16-2015 12:01 AM

Help for Squid 3.5 with mac address acl
 
Hello friends:

Good Day!!!

I have CentOS 6.6 server installed with Squid proxy 3.5.1 recompiled source RPM with --enable-arp \ & --enable-arp-acl \ options, which are required to enable mac address filtering acl.

I want to allow internet access to only allowed mac addresses via squid. I have tried with below ACL in squid.conf but its not blocking other mac addresses.

acl allow_mac arp 01:23:45:AB:E0:CC
http_access allow allow_mac
http_access deny !allow_mac <======This is to block other mac address

Also let me know if this is possible with iptables.

I need to block internet access to some users but they should able to access samba share on the server.

Please help me to resolve this issue,

Thanks in advance.

Aniruddha


All times are GMT -5. The time now is 11:48 PM.