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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lbertaccoCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SSH / Telnet Software

From novice to tech pro — start learning today.