iptables, allow access from certain MAC addresses
- by user788171
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.