Openvpn – Add Filter based on MAC Address

openvpn

Can anyone show me how to filter (change bandwidth, delay, etc) of one or more users connecting to OpenVPN based on their MAC address?

Why I would like to use the MAC address is I could have 100's of users connecting to OpenVPN and I would like to individually limit the bandwidth of each client

Many thanks

Best Answer

This is not possible, as the MAC of a specific user is only visible on that user's network. Once that user's traffic transits a layer 3 boundary, the MAC is no longer present, nor is it useful information in the first place, as it is trivial for any user to change their MAC address.

I would recommend looking into username-based limiting options.