iptables MAC Address Filtering

is it possible to filter mac address using iptables with the this scenario? I have an ssh server what I want is to filter the MAC addresses of people who can connect. But these computers are not in the LAN. They are connecting behind a router. How do I filter them?
thogzyAsked:
Who is Participating?
 
lbertaccoConnect With a Mentor Commented:
If they are behind the router, the packet received by the server won't have the client's MAC but the router's MAC; so you cannot distinguish people behind the router by the MAC address.
0
 
NopiusCommented:
thogzy hi.
The answer given by lbertacco  is correct.
If you are hesitating about accepting his answer, I agree with him, there may not be other correct answer.

0
All Courses

From novice to tech pro — start learning today.