Limiting bytes in on pppoe connection.

Hi,

I’m trying to limit bytes in per month by each user that connects to my router via pppoe, i know in ppp secrets you can set it but as soon as the user disconnects it resets the amount of bytes that have come in. Please could you point me in the right direction.

Many thanks,

you need to use radius