0

I am running PPPoe in mikrotik.... I can use speed rate limit per user but i want to limit of total traffic per month.... for example i want to limit a user for 10GB traffic at 1mbps speed after 10GB used client can not connect using pppoe please help me to do this

Also i want to track user traffic per login.... so that i can get details that how much traffic passed in a single login

thank for your help

Santu Roy
  • 1
  • 1
  • 1

2 Answers2

2

Use User Manager - here is the documentation how to set it up for PPP.

In user data, you can set the download limit (and upload limit, or the sum).

I don't know if there is an automatic way to reset the counters, but you can script that, to happen on the first of the month (or whenever).

mulaz
  • 10,472
  • 1
  • 30
  • 37
0

That is exactly what Radius is designed to do. Authentication, Authorization, and Accounting. However, proper Radius usage is not trivial, and not really a concept that could be explained in one answer. I can highly recommend freeRADIUS, it is an excellent piece of software, and many people are using it to do what you are requesting.

NickW
  • 10,183
  • 1
  • 18
  • 26
  • I have search lots about RADIUS.. I think RADIUS is not easy thing to implement... – Santu Roy Feb 20 '14 at 16:56
  • You are correct, it isn't easy to configure, mostly because it is an extremely powerful tool, there are quite a few tutorials about setting it up to work with mikrotik. Have a look at radman : http://www.dmasoftlab.com/cont/radman – NickW Feb 20 '14 at 17:02
  • Mikrotik has a radius server built in called user manager. – hookenz Oct 06 '15 at 10:06