Hello,

You seem to be missing the ipt_mac/libipt_mac modules which can be installed 
using the following two packages :
- kmod-ipt-opt
- iptables-mod-ipopt

Once installed you will be able to use MAC filtering rules with iptables.

Best regards, Florian Fainelli

Le vendredi 1 juin 2007, gaopeng a écrit :
> Hi,
>
> I am going to filter packet by filter MAC using iptables.  The command I
> used is as followed: #iptables -A INPUT -m mac --mac-source
> 00:0F:EA:91:04:08 -j DROP
>
> Then I got the following error:
> #iptables v1.3.3: Couldn't load match `mac':File not found#iptables v1.3.3:
> Couldn't load match `--mac-source':File not found
>
> I wonder if you know about it.  Thanks a lot in advance!
>
> Gao Peng
> _________________________________________________________________
> 探索 Windows Vista 的世界
> http://search.live.com/results.aspx?q=windows+vista&mkt=zh-cn&FORM=LIVSOP



-- 
Cordialement, Florian Fainelli
---------------------------------------------

Attachment: pgpqwOhbcAOL9.pgp
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to