Question : Problem: 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?

Answer : Problem: iptables MAC Address Filtering

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.
Random Solutions  
 
programming4us programming4us