On Saturday 25 November 2006 09:10, alok pathak wrote: > I am using CentOS3.8 (with kernel version 2.4.21-47.EL, iptables > version 1.2.8-12.3, on AMD sampron x68_64). I want to restrict my > users based on their MAC, and used the command: > > # iptables -A INPUT -m --mac-source 12:12:12:12:12:12 -j DROP It should be like this I recon # iptables -A INPUT -m mac --mac-source 12:12:12:12:12:12 -j DROP