Friday, August 29, 2008

Packet filtering using MAC address in Linux iptables

A host can be blocked by its MAC address.
Linux "iptables" with mac modules loaded.
A simple configuration is given below ----
iptables -A INPUT -m mac --mac-source 00:17:31:D0:76:9C -j DROP
This will block any request fro the MAC address 00:17:31:D0:76:9C.

No comments: