iptables, allow access from certain MAC addresses
Posted
by
user788171
on Server Fault
See other posts from Server Fault
or by user788171
Published on 2013-06-28T22:47:42Z
Indexed on
2013/06/29
10:23 UTC
Read the original article
Hit count: 217
Presently, I limit which clients can access my server by using IP addresses via iptables, only approved IP addresses can connect.
However, the problem with this is if a client is on a laptop and goes to a different location, they can no longer connect because the IP has changed.
For a variety of reasons, iptables authentication is the only option I have.
Is there a way to restrict access by device instead of ip address. For instance, only allow certain MAC address to connect to port 5000.
Is it possible to do this via iptables? Note, the computers are not on the same network, they could be connecting from anywhere in the world.
© Server Fault or respective owner