Link to home
Start Free TrialLog in
Avatar of Yo-NuTZ
Yo-NuTZ

asked on

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?
Avatar of Les Moore
Les Moore
Flag of United States of America image

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
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
ASKER CERTIFIED SOLUTION
Avatar of Les Moore
Les Moore
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Yo-NuTZ
Yo-NuTZ

ASKER

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