>From what I see iptables MAC filtering module is included with
iptables. However, you may need to enable it by adding "ipt_mac"  
to /etc/modules.

abel wrote about "[leaf-wisp] Re: iptables in wisp":
> iptables: No chain/target/match by that name
> 
> Vladimir wrote:
> 
> I don't exactly remember if MAC matching is included in WISP-Dist's 
>  iptables.
>  
>  What is the error that you get?
>  
>  abel wrote:
>  > 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
>  > _______________________________________________
>  > leaf-wisp-dist mailing list
>  > [EMAIL PROTECTED]
>  > https://lists.sourceforge.net/lists/listinfo/leaf-wisp-dist
>  > 
>  
>  
>  -- 
>  Best Regards,
>  Vladimir Ivashchenko
>  ThunderWorx - http://www.thunderworx.com
>  Senior Systems Designer/Engineer
>  
> 
> 
> -------------------------------------------------------
> 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
> _______________________________________________
> leaf-wisp-dist mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/leaf-wisp-dist

-- 
Best Regards,
Vladimir Ivashchenko
ThunderWorx - www.thunderworx.com
Senior Systems Designer/Engineer


-------------------------------------------------------
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
_______________________________________________
leaf-wisp-dist mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-wisp-dist

Reply via email to