LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   iptables + mac address filtering (http://www.linuxquestions.org/questions/linux-networking-3/iptables-mac-address-filtering-668879/)

Roko 09-10-2008 05:42 AM

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?

Matir 09-10-2008 07:38 AM

From iptables(8):
Code:

  mac
      --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.



All times are GMT -5. The time now is 03:56 PM.