I don’t know if it’s possible but…
By now, only possible solution for billing users differently based on where they go and what kind of traffic they make was to use traffic-flow.
But, is it possible to use Framed-Filter and radius attributes extension to accomplish the sam thing?
For example, when user is connected radius sends framed-ip, framed-protocol etc. to mikrotik. You can also send framed-filter and mikrotik will create dynamic filter for every packet that goes to and from specific user. If we can send arrays of counters in interim-packets and stop-packet we can see exactly local and remote traffic? It realy depend on rules we setup.
array[‘dynamic-rules’]
{
fw_rule[0] = 20MB
fw_rule[1] = 40MB
fw_rule[2] = 60MB
fw_rule[3] = 5MB
}
We would need to take care that rule order is not changing, or in case we change order of rules, we should change billing scripts accordingly, but, it could work?