Hi
I have a MT pppoe server with freeradius as AAA. I have multiple options for customers, one of them is pay by the amount of traffic they make (ie 100MB 1$). Now the problem is i dont want to charge people when they are using local services like ftp/local netradio/etc… So i would like to exclude some IP addresses where are my services from accounting.
I hope i have explained my problem and that someone could help me.
Thanks
Yes, your explanation is very good.
Currently it is not possible to exclude local traffic from not being accounted.
I am also looking for the same feature and I’m willing to contribute towards a bounty for it ![]()
It’s name is unmetered content and i am also interested in it .
NetFlow / IP Accounting… You won’t be able to do this with Radius Accounting, as Radius per RFC accounts for all traffic over the Point to Point Interface.
I heard, mpd can use ‘realms’ for such tasks. in that case, RADIUS receives not statistics by ppp interface, but statistics for realms over each interface, like ‘pptp-user1 sent XYZ bytes to realm1, NNN bytes to realm2’, etc.
i was wondering could we use filters in pppoe profiles to exclude trafic toward some ip (local servers) when i say exclude traffic i mean like no simple queue nor counting amount of traffic toward that excluded ip.
Thanks,
and sorry for lack of sense and professional dictionary
(un)fortunately, no. traffic amount is reported based on interface tx/rx stats
I noticed in some thread (can’t remember which one) that there was a bug fix regarding netflow in version 4.10, although when I compare netflow results with results from radius, they are never the same (after doing the upgrade of mikrotik), not even close. Tried it with both netflow v5 and v9.
and what about prevoius versions? I have almost equal results in v3.28…
Hmm, I only started trying out netflow at v4.5. I can try and set up a new test environment with an older version.
My current install is running on Xen at the moment, with 3 other virtual servers on it too. Do you think the fact that it is virtualized is the problem? The network interface I monitor is dedicated to only mikrotik.