Bandwidth limit based on username



  • hi

    is it possible to assign multiple bandwidth upload download based on the username, so what ever computer the user is using he will be limited to the assigned bandwidth example:
    username A 1024 down 128 up
    username B 2048 down 128 up
    username C 2048 down 512 up
    username D 2048 down 1024 up

    thanks in advance

    hadi57



  • I havent tested it yet myself but I think this is possible on 2.0beta with captive portal and an external radius server and setting WISPr-Bandwidth-Max-Down/Up attributes to the assigned user.

    You cant do this with pfsense alone, maybe if pfsense's freeradius is upgraded but as I said I havent tested.



  • It should be possible, but I have tested it in the 1st of April snapshots using an external RADIUS server and it doesn't seem to work. I can still download and upload at the available bandwidth rate even when I have the WISPr attributes being sent from RADIUS.

    There was a bug opened about the bandwidth restrictions in the CP not working, and that was resolved as fixed however I don't think the testing was done with RADIUS attributes.



  • That works in current stable releases if you use captive portal.



  • hi

    can you give me an expample how to please?

    hadi57



  • @hadi57:

    hi

    can you give me an expample how to please?

    hadi57

    Would like to see an example or documentation too. Considering replacing our Bluesocket & Nomadix controllers with pfSense but currently provide many service levels set through radius.



  • @ryny24:

    Would like to see an example or documentation too. Considering replacing our Bluesocket & Nomadix controllers with pfSense but currently provide many service levels set through radius.

    It's just RADIUS attributes, probably no different than you're already using though possibly different attributes. The WISPr bandwidth attributes are what is used.



  • sorry i was away for a while

    thanks ryn24, for the reply, i would really apreciate that.

    hadi57


Locked