|
Re: MAC Address Based ACL 7 Months, 2 Weeks ago
|
|
|
I finally managed to resolve this issue at my own its okay that i didn't receive any help from the forum.
This topic is for those who don't want that there network can be accessed by the unregistered users. These rules will allow the DHCP to assign the IP to only registered users. first of all you will have to install custom rules in firewall then input following rules.
iptables -I INPUT -i eth1 -j DROP
iptables -I INPUT -m mac --mac-source 00:1e:c9:47:00:dc -j ACCEPT
you can replace the MAC address and eth interface to that you are using. the important thing here is that iptables -I INPUT -i eth1 -j DROP has to be at the top and rest of the rules underneath it. Good luck with your network managment
|
|
|