LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2013, 10:20 AM   #1
micro_xii
Member
 
Registered: Sep 2006
Posts: 140

Rep: Reputation: 15
Squid - Allow group internet based on IP + Mac add


hello

centos 6.3
squid 3.1 + dansguardian + sarg

I have successfully run the above services and with ncsa_auth.
This is the scenario:
GroupA = can browse with authentication
GroupB = can browse without authentication. (i want to configure this group with IP + Mac Add).

How to achieve this GroupB

Hoping for your response.tnx
 
Old 01-24-2013, 07:34 AM   #2
hamlindsza
Member
 
Registered: Aug 2012
Distribution: Debian, CentOS
Posts: 74

Rep: Reputation: Disabled
You could achieve this by first defining the MAC Address's of GroupB users:

acl groupBmacs arp xx:xx:xx:xx:xx:x1, xx:xx:xx:xx:xx:x2
acl groupBips src 10.0.0.2, 10.0.0.3

http_access allow groupBmacs
http_access allow groupBips
http_access allow ncsaauth

For MAC Address based ACL's make sure ure squid is build with the enable arp option: --enable-arp-acl
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
blocking mac based address in squid amjadask Linux - Server 7 04-07-2011 10:45 AM
[SOLVED] IPTABLES: Restrict Internet access based on time of day and MAC address ScottSmith Linux - Security 7 02-09-2010 03:25 AM
restrict and allow my clients to access my squid services on the bases of MAC add. shahg_shahg Linux - Security 1 04-14-2006 02:46 AM
squid (pam auth) add group ? stomach Linux - Software 3 09-09-2005 11:53 AM
linux router must grant internet acces based on MAC adresses YNets269 Linux - Networking 6 07-15-2004 06:56 AM


All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration