[leaf-wisp] iptables in wisp

"abel" <[email protected]>
Newsgroups gmane.linux.leaf.wisp-dist
Message-ID <[email protected]>
Hi!
I am trying to filter the traffic that is carried by the wisp router restricting 
it to those packets that match MAC with IP.
I tried the following:

iptables -N filter_by_mac

iptables -A filter_by_mac -s 10.4.4.2 -m mac --mac-source 08:00:30:01:B9:26 -j 
RETURN
.
.
[more lines with other MAC/IP pairs]
.
.
iptables -A filter_by_mac -j DROP

iptables -A PREROUTING -j filter_by_mac

but iptables complains when entering the filtering rules.
I think the rules is sintactically correct so I wonder if wisp is distributed 
with iptables mac matching enabled.
Or I am missing something else?
Thanks for your help.

abel


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.