Article 6QA0B iptables - MAC Address range or Wildcard

iptables - MAC Address range or Wildcard

by
WinFree
from LinuxQuestions.org on (#6QA0B)
Hi,

Can been searching in Google for a while with no luck.

How can I block a IP address range with iptables.

iptables -D INPUT -m mac --mac-source aa:bb:cc:dd:ee:ff -j DROP
does the job for one IP.

However if I want to block the entire range from aa:bb:cc:00:00:00 to aa:bb:cc:ff:ff:ff, is this possible?

Thank you.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments