• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 806
  • Last Modified:

Bandwidth shaping and accounting in linux with radius

Hello All,

I currently have a radius server running and I would like to enable bandwidth shaping and accounting using a linux server as a gateway.  I've researched for solutions online but not found exactly what I'm after.  Can anyone point me in the right direction?  This setup would be similar to what is required by and ISP.

As far as I know so far, I would use IPTables to control routing and possible qdisc for shaping?  But I have no idea how I could enable shaping depend on the client or using Radius in conjunection with the server for authentication and accounting.

The preferred flavour of linux would be Ubuntu server but open to suggestion.

  • 2
1 Solution
Monis MontherSystem ArchitectCommented:
To do traffic shapping us a package called TC  (traffic control), I am not sure if it integrates with RADIUS, but I have used it to do traffic shapping for both ingress and egress, and limit bandwidth per IP or Net

This is a good how to


Anubis2005Author Commented:
Hi small_student;

The reason I was wanting to use Radius was that we have a database of users (MS-SQL) which I want to authenticate users against and also collect accounting information on how much users are uploading and downloading.

I'll have a look over that link but still looking for something that more specifically covers my requirements.

Thanks for the quick reply.
Anubis2005Author Commented:
This problem was solved with the help of Perl, many CPAN modules, IPTABLES and TC.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now