Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-10-2008, 05:42 AM   #1
LQ Newbie
Registered: Sep 2008
Posts: 14

Rep: Reputation: 0
iptables + mac address filtering

hello, i have a problem. i will make a iptables firewall, but i want to do it with mac address filtering. i dont want to make it with arp, but all with IP tables.

it is posible?
Old 09-10-2008, 07:38 AM   #2
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
From iptables(8):
       --mac-source [!] address
              Match   source   MAC   address.    It   must   be  of  the  form
              XX:XX:XX:XX:XX:XX.  Note that this only makes sense for  packets
              coming from an Ethernet device and entering the PREROUTING, FOR‐
              WARD or INPUT chains.


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
can mac address filtering be done from the internet? yongitz Linux - Networking 9 04-19-2007 01:45 AM
MAC address filtering in Slackware? houler Linux - Networking 9 05-12-2006 07:34 AM
mac address filtering gabsik Linux - Security 8 04-27-2006 08:23 AM
Questions on DHCP Filtering via MAC address brainee28 Linux - Networking 1 02-03-2005 02:11 PM
MAC address filtering firewall? gigaah Linux - Security 5 06-07-2004 11:05 AM

All times are GMT -5. The time now is 02:39 PM.

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