Re: [fw-wiz] help on adding rule to iptables for matching MAC address through program

From: Mike LaPane (
Date: 02/28/03

  • Next message: Weil, Timothy R (BearingPoint): "[fw-wiz] PIX Static Routes for VPN Traffic"
    From: Mike LaPane <>
    To: "Manoj K. Mohan" <>,
    Date: Fri, 28 Feb 2003 08:57:12 -0500

    On Friday 28 February 2003 5:47 am, Manoj K. Mohan wrote:
    > Hello all,
    > I have been trying to write a program for dynamic addition of rules to
    > iptables. I have been able to add a rule with a specific target, but i have
    > not been able to figure out how to add a match(MAC address) to the rule.
    > Pls let me know how to do this if anyone knows the trick
    iptables -m mac --help (this will show you)

    As long as you have these extensions compiled either in the kernel or as a
    module. Also, make sure you have the patches as there was a problem with the
    MAC match module last year. has tons of wonderful info ;-)
    > Thanx in advance
    > Manoj K. Mohan <>
    > ---------------------------------
    > Do you Yahoo!?
    > Yahoo! Tax Center - forms, calculators, tips, and more

    firewall-wizards mailing list

    Relevant Pages