MikroTik RouterOS & FreeRADIUS Billing Integration Guide
A step-by-step configuration manual for ISP engineers on connecting MikroTik CCR routers to central FreeRADIUS AAA, setting up incoming CoA ports, and automating subscriber plan enforcement.
1. RouterOS RADIUS Client Configuration
To enable RADIUS authentication for PPPoE server interfaces, execute the following CLI commands inside RouterOS Terminal:
Kashtrix Telecom Architecture Team
Verified AuthorSenior MikroTik & BNG Integration Architect
Specializes in MikroTik RouterOS v7 performance tuning, PPPoE server scaling, and automated billing synchronization.
[Verified Operator Case Study - Name Confidential]
Legacy billing software caused high dunning churn, database deadlocks during bill run peak hours, and lacked automated CGNAT subpoena log retrieval.
Deployed Kashtrix Unified OSS/BSS with integrated FreeRADIUS AAA clusters, automated WhatsApp invoice dunning, and 100k EPS Syslog CGNAT collector.
Measured Technical Outcomes
2. Frequently Asked Questions
What ports must be opened on MikroTik for RADIUS CoA disconnections?
MikroTik RouterOS listens on UDP port 3799 for incoming RADIUS CoA and Disconnect messages (`/radius incoming set accept=yes port=3799`).
How does Kashtrix automatically apply bandwidth rate limits on MikroTik PPPoE active sessions?
Upon subscriber login or plan upgrade, Kashtrix transmits the `Mikrotik-Rate-Limit` RADIUS attribute (e.g., `100M/100M 0/0 0/0 0/0 8 10M/10M`), creating dynamic simple queues inside RouterOS.
Does Kashtrix support MikroTik RouterOS v6 and v7?
Yes. Kashtrix supports both RouterOS v6 and v7 REST APIs, SSH CLI, and RADIUS AAA attributes.
