All of lore.kernel.org
 help / color / mirror / Atom feed
* MAC Address filtering
@ 2007-02-15  6:37 Allan Parreno
  2007-02-15  9:08 ` Cedric Blancher
  0 siblings, 1 reply; 2+ messages in thread
From: Allan Parreno @ 2007-02-15  6:37 UTC (permalink / raw)
  To: netfilter

Hello,

Can send me a sample on how to filter the MAC address. Example:

Computer1:  99:99:99:99
Computer2:  98:98:98:98
Computer3:  97:97:97:97

Now I want those computers1,2 and 3 can access the net, all others will be block.

Thanks in advance
 




 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: MAC Address filtering
  2007-02-15  6:37 MAC Address filtering Allan Parreno
@ 2007-02-15  9:08 ` Cedric Blancher
  0 siblings, 0 replies; 2+ messages in thread
From: Cedric Blancher @ 2007-02-15  9:08 UTC (permalink / raw)
  To: Allan Parreno; +Cc: netfilter

Le mercredi 14 février 2007 à 22:37 -0800, Allan Parreno a écrit :
> Computer1:  99:99:99:99
> Computer2:  98:98:98:98
> Computer3:  97:97:97:97

MAC addresses are 48 bits long, thus 6 hexa digits couples, not 4...

> Now I want those computers1,2 and 3 can access the net, all others
> will be block.

Just have to match their MAC address for an ACCEPT rule.

iptables -m mac --help


-- 
http://sid.rstack.org/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
>> Hi! I'm your friendly neighbourhood signature virus.
>> Copy me to your signature file and help me spread!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-15  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-15  6:37 MAC Address filtering Allan Parreno
2007-02-15  9:08 ` Cedric Blancher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.