Throttling
-
Hello. We are looking to put safeguards in place per OpenVPN user. Does anyone know if its possible to perform any of the following?
- Limit bandwidth per user
- Limit data by GB per user
- View data usage per day, week or month. per user
- Show all connected devices from all accounts from one interface?
-
@BrutalBirdie Hello BB. Yes you are correct. We are giving the service away but we need to place limits to prevent some users from hogging the pipe.
-
@BrutalBirdie True. We can place soft limits in the APK file by attaching some sort of account management via API. That would be messy though. We would like to throttle overall speed OR limit bandwidth over time, per user. If these are not an option then manual monitoring of all accounts from one interface would work. We can then simply assign a set number of users on each pipe and be done with it.
-
tools such as wondershaper and
tc
or traffic control do this.For ex with iptables:
https://serverfault.com/questions/52027/how-can-i-limit-per-user-bandwidth