Linux – MAC address filtering in Linux

firewalllinuxmac address

I'm a new system administrator of an existing Linux network. Apparently there is MAC address filtering there. How could I allow a specific MAC to connect to the network?

The INPUT, FORWARD and OUTPUT chains of iptables are empty.

Best Answer

There is a program on Linux called ebtables that allows filtering, logging, forwarding and other stuff based on MAC addresses (Layer 2), as opposed to iptables working with IP addresses (Layer 3). ebtables works similarly to iptables, might be worth it to try ebtables -L or so.

Alternatively your Linux system might have multiple interfaces junctioned in a bridge, but I'm not sure what sort of MAC filtering you can do with brctl.