-   Linux - Networking (
-   -   iptables + mac address filtering (

Roko 09-10-2008 06: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 08:38 AM

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.

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