help in Traffic shaping by radius attributes

Dears…

1st of all I’m not good in scripting so I need your help…

if I made a mangle packets mark to have a good QoS where I marked the HTTP packets , P2P, HTTPS ..etc

can we do this simple queue from radius manager for each user by radius attributes ?

for ex :
we have a user with pppoe name : user1 with a limit of 256k/1M
he logged in and I have a dynamic simple queue for him in Mikrotik…
what I need is to make a traffic shaping for each user
like this :

/ queue simple 
add name="pppoe-user1" target-addresses=pppoe-user1 max-limit=256000/1024000
add name="httpuser1" parent=pppoe-user1 packet-marks=http max-limit=240000/640000 priority=1
add name="p2puser1" parent=pppoe-user1 packet-marks=p2p max-limit=64000/64000 priority=8
add name="otheruser1" parent=pppoe-user1 packet-marks=other max-limit=128000/512000 priority=4

Best regards

Radius Manager allows you to script that process, so, yes, you can do it. It will be done on that the RADIUS side though.

I’ve set that up before and it was a little complicated at first, but it worked well after we got it working. If you would like to email me, I can put in touch with someone who can share that configuration with you.

Dear ssofet…

thank you for your replay

we have a DMAsoftlab radius manager ..

so can we do it as you say?

Yes, that’s perfect :smiley: