MAC-based acces restriction

We have a server on Suse Linux 8.2 set up to share the internet acces to the whole acces. I want to filter some users out by only allowing specific users to acces the internet (using the mac of the network card) but i couldn't do it, could anybody help me? Maybe even point me to a how-to/tutorial?
Yo-NuTZAsked:
Who is Participating?
 
lrmooreCommented:
>Maybe even point me to a how-to/tutorial

I provided links to good resources in my comment..
0
 
lrmooreCommented:
If using ipchains/iptables:

iptables -N MACcheck
iptables -A MACcheck -m mac --mac-source aa.bb.cc.dd.ee.ff -j ACCEPT
iptables -A MACcheck -m mac --mac-source uu.vv.ww.xx.yy.zz -j ACCEPT
iptables -A MACcheck -j DROP

Couple of good articles..
http://www.linuxworld.com/features/search.htm?ss=iptables
0
 
Tim HolmanCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:

--> DELETE - No refund

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

tim_holman
EE Cleanup Volunteer
0
 
Yo-NuTZAuthor Commented:
Sorry for the late answer but this was an issue i solved long ago, similarly how irmoore pointed out. I answered so late because my pc has been broke for several months and i didn't have time to fix it! thanks anyways for the patience and excuse me once more
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.