[RHEL] Does iptables work with MAC Address rules?

Solution Verified - Updated -

Issue

  • After try to use a MAC Address rule in iptables the following error is reported:
# iptables -I INPUT -p tcp -m --mac-source 11:22:33:44:55:66 -j DROP
iptables v1.4.7: Couldn't load match `--mac-source':/lib64/xtables/libipt_--mac-source.so: cannot open shared object file: No such file or directory

Environment

  • Red Hat Enterprise Linux 6 - All Releases
  • iptables - 1.4.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.