Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2007
allow only a range of MAC address in iptables
Does anyone know how to configure in iptables to allow only a range of MAC address with specific ports?
I want to allow only a few computers in firewall.
I fond one article which can allow or block range of IP addresses and ports.
Linux Iptables: How to specify a range of IP addresses or ports | nixCraft
Quote from man iptablesCode:
mac --mac-source [!] address Match source MAC address. It must be of the form XX:XX:XX:XX:XX:XX. Note that this only makes sense for packets coming from an Ether‐ net device and entering the PREROUTING, FOR‐ WARD or INPUT chains."Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." Linus Benedict Torvalds