Solved

MAC-based acces restriction

Posted on 2003-12-07
5
268 Views
Last Modified: 2010-08-05
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?
0
Comment
Question by:Yo-NuTZ
  • 2
5 Comments
 
LVL 79

Expert Comment

by:lrmoore
Comment Utility
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
 
LVL 23

Expert Comment

by:Tim Holman
Comment Utility
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
 
LVL 79

Accepted Solution

by:
lrmoore earned 500 total points
Comment Utility
>Maybe even point me to a how-to/tutorial

I provided links to good resources in my comment..
0
 

Author Comment

by:Yo-NuTZ
Comment Utility
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

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

To setup a SonicWALL for policy based routing to be used with the Websense Content Gateway there are several steps that need to be completed. Below is a rough guide for accomplishing this. One thing of note is this guide is intended to assist in the…
The DROP (Spamhaus Don't Route Or Peer List) is a small list of IP address ranges that have been stolen or hijacked from their rightful owners. The DROP list is not a DNS based list.  It is designed to be downloaded as a file, with primary intention…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now