[Bug 894] New: Mask Address MAC

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Tue Feb 4 11:46:52 CET 2014


           Summary: Mask Address MAC
           Product: iptables
           Version: 1.4.x
          Platform: All
        OS/Version: Debian GNU/Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: iptables
        AssignedTo: netfilter-buglog at lists.netfilter.org
        ReportedBy: gomram06 at hotmail.com
   Estimated Hours: 0.0


I'm sorry, it's not a bug but i don't find solution anywhere, and i want an
expert answer.

So, i use this : 

iptables -A FORWARD -m mac --mac-source 01:14:5e:54:69:00 -o eth0 -j ACCEPT
iptables -A FORWARD -m mac --mac-source 01:14:5e:54:69:01 -o eth0 -j ACCEPT
iptables -A FORWARD -m mac --mac-source 01:14:5e:54:69:02 -o eth0 -j ACCEPT
iptables -A FORWARD -m mac --mac-source 01:14:5e:54:69:ff -o eth0 -j ACCEPT

And i want know if it's possible to factorize, so a solution resembling :

iptables -A FORWARD -m mac --mac-source 01:14:5e:54:69:00/40 -o eth0 -j ACCEPT

This command does not work of course.

I'm sorry for the inconvenience and thank you in advance for your response.

Best Regards.

Ramzi GOMRI.

Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the netfilter-buglog mailing list