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.
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.