Results 1 to 2 of 2
Hello.
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.
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-16-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 7
allow only a range of MAC address in iptables
Hello.
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
Thanks,
Jon
- 05-20-2007 #2
Quote from man iptables
Code: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


Reply With Quote
