Re: iptables: Invalid argument Using mac match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

after reading Oskar Andreasson tutorial
http://iptables-tutorial.frozentux.net/iptables-tutorial.html,
understand now, this mac match cannot use in output

fw:/config> iptables -N auth
fw:/config> iptables -A INPUT -j auth
fw:/config> iptables -A FORWARD -j auth
fw:/config> iptables -I auth -m mac --mac-source 00:11:09:5D:D9:13 -j DROP

now its OK, thanks for your time.


On 11/15/06, nawawi <mohd.nawawi@xxxxxxxxx> wrote:
Hi all,

Im trying to block this mac address by using this rules, however
iptables claim this as a invalid argument.

fw:/config> iptables -N auth
fw:/config> iptables -A INPUT -j auth
fw:/config> iptables -A FORWARD -j auth
fw:/config> iptables -A OUTPUT -j auth
fw:/config> iptables -I auth -m mac --mac-source 00:11:09:5D:D9:13 -j DROP
iptables: Invalid argument

Thanks.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux