I want to stop someone with a certain MAC address from accessing a certain port on my server, I’m using this as a sort of hardware ban for a private server a friend of mine runs.
I am looking to do this in C++, and would like to know what I would need to research in order to do it. The server runs Windows.
Also, how would I find out the MAC address of the person accessing? Thankyou.
Filtering on MAC addresses is only useful if the server and client are on the same LAN.
The server will see the MAC address of the nearest upstream router, not the client’s
MAC address.