bandwidth management and conn. count in a more complex setup
Posted: Mon Aug 12, 2013 5:17 pm
I have openvpn server 2.3.2 compiled from source installed on a centos 6 box.
- configured to auth using openldap.
- it works perfectly as far as i've seen and there are no problems.
my question is how can i limit the bandwidth used per month and also limit the rate of each account.
for instance
i have in ldap
and connection wise, how can i limit the number of connection a certain user can have simultaneously ? and for that matter can i configure the server to deny such behavior ? ie each user is allowed only one connection from any one place at a time.
also for stats, i'd like a counter for the total bandwidth (up or down) used by each user
where do i begin ? are there any documents detailing on how to do this ? i know it's not your standard setup but since the openldap community couldn't care (nor should they) less about openvpn configuring it's not common sense to post on their mailing lists for help.
Thanks in advance.
*edited*
- configured to auth using openldap.
- it works perfectly as far as i've seen and there are no problems.
my question is how can i limit the bandwidth used per month and also limit the rate of each account.
for instance
i have in ldap
- users: user1,2,3[...]
groups: light,standard,unlimited
and connection wise, how can i limit the number of connection a certain user can have simultaneously ? and for that matter can i configure the server to deny such behavior ? ie each user is allowed only one connection from any one place at a time.
also for stats, i'd like a counter for the total bandwidth (up or down) used by each user
where do i begin ? are there any documents detailing on how to do this ? i know it's not your standard setup but since the openldap community couldn't care (nor should they) less about openvpn configuring it's not common sense to post on their mailing lists for help.
Thanks in advance.
*edited*