1
1
I have a Linux based WiFi access point connected to the internet. How can I limit the download speed for each user to 200 kbps?
This is a simple question and I could find many "false duplicates" in Stack Overflow, but without an answer to my question:
- Users come and go, so the number of users and their IPs are dynamic
- The rate limit is for download, not upload
- The rate is not for IPs, but for WiFi users (for example, if one user is also a router or a bridged hypervisor, it has multiple IPs)
- The limit is not variable. It's 200 kbps even if there's a single user (so that no user drains the monthly Internet GB budget in a single day).
Shaping with MAC address would be ok, having a fixed list of MAC address woudn't. The client list is dynamic and arbitrarily large. – hdante – 2017-12-22T13:06:26.343
If you don't have a fixed list how do you stop people from using multiple connections to get more bandwidth? – davidgo – 2017-12-22T13:09:41.660
I don't, I just rely on the fact that having another Wi-Fi radio costs money, so they would have limited motivation to do so. – hdante – 2017-12-22T13:12:18.740