"Zero-Rated" or Free PPPoE traffic

Hi there,

I’m curious if there is a feature or perhaps a wish list item for future development.

I’m trying to allow certain traffic match in the IP firewall (either by port / Dst-address / layer7) marking to not be counted against Radius usage. Thereby making that traffic utilize the same connection as standard traffic provided to client, however that traffic would “Zero-rated” or free. Perhaps a flag settable under the action tab of src/dst-nat, flag=radius-ignore ?

There is a huge need this ability, I have explored options of accomplishing this, by creating a second PPPoE session which is locally authenticated and pushing the traffic down that session instead, this works if you are to have the CPE (non-Mikrotik) of the client handle the routing, but with the model we are using, that is not possible, the work around was to use a proxy and have a static route in CPE (non-Mikrotik) to ask the proxy for that kind of traffic, this is proving more and more difficult with CDNs.

So to recap, what we are looking to do is have the Mikrotik PPPoE server ignore certain traffic counting towards a clients PPPoE session on the radius, based on connection and packet marks in the IP firewall of the same PPPoE Server Mikrotik.

Normal Traffic

“Zero-Rated” or Free Traffic

Thanks everyone in advance

I expect that the counters inside the PPP connection have no awareness of things like packet marks.
You could use a queue tree to separately count the traffic you want, but of course there is no association
between the queue and the RADIUS session so it cannot be reported for accounting.
That effectively leaves you on a dead end. Unless you want to use API calls or SNMP to retrieve counters.