Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to restrict each user to 300 gigabytes of internet usage per month. Are there any GUI or command-based tools to manager my users' bandwidth?

share|improve this question
1  
I would use squid for this task. –  bodhi.zazen Jan 4 '12 at 16:56
    
so i would research on squid ... any good web for help plz –  One Zero Jan 4 '12 at 20:36
add comment

3 Answers 3

up vote 1 down vote accepted

If you're using a VPN server for your user's AAA, Use many many tools adapted for your need.

If you're not using a VPN server, Just use it.

As I think you didn't use this solution yet, let me a little to explain about it.

AAA stands for Authentication, Authorization and Accounting. I don't know you solution about the first two ones, but you'r looking for an accounting solution now. So I recommend you to use an AAA enabled VPN solution.

As soon as you install a AAA enabled VPN Server, you'll have very strict control over your clients. I suggest you to use a poptop server, a FreeRadius server on a mysql backend. With this combination and a radius GUI (like dialup-admin or ara or daloradius or ibs) you can do almost everything you want. You should able to control BW or time usage of your users. In the other hand, all usages data will be stored in your mysql DB and if your selected GUI doesn't support your need, you'll be able to do it yourself!

Hope to help :-)

share|improve this answer
add comment

I think you may try NTM, Network Traffic Monitor, that allows you to set bandwidth restrictions; I don't know whether you can specify restrictions per user, though. You can find the program here:

http://sourceforge.net/projects/netramon/

You can download the latest .deb from here:

http://sourceforge.net/projects/netramon/files/NTM/ntm-1.x/

And here is a "guide" on how it works:

http://www.addictivetips.com/ubuntu-linux-tips/monitor-network-bandwidth-usage-in-ubuntu-linux-with-ntm/

share|improve this answer
add comment

A solution should be installing a captive portal but then users must log in on portal page through web server.
Another way may be a more sofisticated monitoring tool likeNetAMS. It needs a MySQL server and it has lots of features, like billing, so it must have differentiated statistics. If a plugin for traffic limiting is not already present then a script with CRON can be made. Time interval for executing script must be well thought.

Hope it helps.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.