OFOQ Technologies / Knowledge base
RADIUS Usage Guide
Clear steps from network setup to session monitoring and troubleshooting.
11 sections
No results. Try another term or clear the search.
01 / RADIUS
Understanding RADIUS
RADIUS connects a network device to a central server for subscriber authentication, access policy and usage accounting. OFOQ Technologies provides the management interface.
- Authentication validates subscriber credentials and accepts or rejects the request.
- Authorization applies service properties such as speed and time, subject to server and router configuration.
- Accounting records session starts, interim updates, stops, duration and traffic.
- Manager web login is separate from subscriber internet access. RouterOS API provides management and monitoring; it does not replace RADIUS authentication.
02 / RADIUS
Initial setup
Start with an activated management account you are authorized to use. This guide does not publish default credentials.
- Sign in and open the dashboard. Review account information, password and preferences in My account.
- Review your subscription plan and permissions. Some menus may be unavailable; ask an authorized administrator for changes.
- Review currency, tax and service settings with the administrator before creating financial records. Prepare backups and an isolated restore procedure.
- Ask the server administrator to confirm the RADIUS service, network path, time and actual listening ports. Keep secrets out of tickets and shared screenshots.
03 / RADIUS
Adding a MikroTik router
Adding a router does not prove subscriber access works. Validate with a test router and account before putting it into service.
- Open Routers / NAS and add a device. Enter the name, address or hostname supported by the form, identity, owner and required shared secret. Do not copy a deployment address from this guide.
- Enable the required connection options and supply dedicated API credentials. API credentials differ from subscriber passwords and the RADIUS shared secret.
- Assign the service to allowed NAS devices. A valid subscriber can be rejected when its service does not permit the router.
- If using the setup script generated by the panel, review it with the network administrator first. It changes real connectivity, RADIUS and monitoring settings. The guide never runs it.
- Enable RADIUS for the intended PPP or HotSpot service and enable interim accounting. A matching local account may take precedence over RADIUS; do not delete customer accounts to test this.
- Use the router connection-status check. It checks connectivity and service, accounting and disconnect settings; it does not test a subscriber password or measured throughput.
- RouterOS defaults are UDP 1812 for authentication and 1813 for accounting; the current generator does not specify alternatives. Confirm the actual server listeners with the administrator. The current integration configures disconnect on 1700 and API on 8728.
- Test an isolated subscriber login, then Accounting-Start, traffic updates and Stop, followed by an authorized disconnect test. Record the RouterOS version tested; source code does not certify every version.
Documentation example only — review and replace placeholders before use. This page never executes commands.
# Documentation template only: replace placeholders after administrator review.
/radius add address=<RADIUS_SERVER_IP> service=ppp,hotspot secret="<RADIUS_SHARED_SECRET>"
/ppp aaa set use-radius=yes accounting=yes interim-update=30s
# Apply HotSpot settings only to the intended profile.
/ip hotspot profile set <HOTSPOT_PROFILE_ID> use-radius=yes radius-accounting=yes radius-interim-update=30s04 / RADIUS
Subscriber management
Operations depend on account owner, permissions and plan. Use isolated test records when trying changes, disablement or disconnects.
- Open Subscribers, add a subscriber and enter credentials and required details, then select the service, group and owner available to your role.
- Edit the subscriber to change service, account data or password. Confirm the intended account and owner before saving.
- Review enabled status, expiration, quotas and usage duration. Disablement affects access policy; ending an existing session is a separate operation.
- Use online sessions and authentication logs to diagnose access. Only authorized users can disconnect; a still-valid client may reconnect.
- Keep portal and network credentials consistent using supported account operations. Do not edit credential records manually.
05 / RADIUS
Internet services and profiles
An internet service controlling speed and quotas differs from the manager’s platform subscription plan.
- Add a service from Services. Set its name, displayed speed units, time limits and expiration policy, then review the values.
- The service form handles speeds in kilobits per second and converts them to bits for storage. Distinguish upload from download.
- Upload, download and combined quotas, uptime and expiry fields are available. Enforcement depends on the service and server configuration; stored values alone do not prove network enforcement.
- Select allowed NAS devices and managers, then assign the service to a subscriber or voucher series. Review scheduled changes when used.
- The form supports extra RADIUS attributes such as Mikrotik-Rate-Limit. Voucher session limits are written as Port-Limit; do not assume every field produces Simultaneous-Use or Session-Timeout. Inspect a test account’s actual server response.
06 / RADIUS
Vouchers and card batches
Generating cards creates real credentials. Review service, count and owner first. Print and export files contain login data and must be protected.
- Open Card series and Generate. Select the service, number of cards, username length, prefix/suffix and password mode.
- Set quotas, online duration and units. Data limits are converted from MiB to bytes and online duration from minutes or hours to seconds.
- Choose fixed expiration or activation-relative validity in the form. Required duration fields cannot be zero. First-use timing depends on server integration and needs a real login test.
- The generator retries duplicate names and checks existing records. Review the actual generated count rather than assuming the requested count succeeded after an error.
- Print or export CSV from an authorized series. Test the template with fixture data before printing a full batch.
- Series changes target unused cards as applicable. Disablement, deletion and batch operations require permission and affect real records; review scope and confirmation messages.
07 / RADIUS
Managers and permissions
A public help link does not grant administrative authority. Data operations remain protected by server-side account permissions.
- An authorized administrator creates manager accounts with enabled status, identity and role. Do not share the administrator account.
- Review view, create, edit and delete permissions separately. Platform administration remains restricted to the administrator.
- Role permissions work together with plan limits and record ownership. A missing menu or rejected request can involve any of these.
- Validate changes using a restricted staging account. A permission-check interface is not a substitute for authorization inside each operation.
- Disable or delete managers through supported operations after reviewing dependencies. Review available notifications and audit records; do not assume every read or change is logged.
08 / RADIUS
Monitoring and accounting
Usage reports depend on arriving accounting records and device clocks, and can lag behind the live network.
- Online sessions show sessions known to the system. Review subscriber, router, start time and duration before acting.
- Check authentication history for available reasons, then account validity, service and allowed NAS. Never put passwords in support tickets.
- Use traffic reports and subscriber connection history to review duration, bytes and stop cause. Missing Stop messages or router outages can leave stale sessions.
- The current setup generator requests 30-second interim accounting for PPP and HotSpot. Confirm actual delivery; configuration checks do not prove packet arrival.
- The billing worker processes expiry, quotas and session-disconnect attempts. Ask the server administrator to monitor successful cycles; a field change alone does not prove an immediate disconnect.
09 / RADIUS
Troubleshooting
Start with non-sensitive evidence: event time, connection type and error message. Use these topics to isolate the failing channel.
Router cannot reach RADIUS
Check the intended route, DNS/VPN and narrowly scoped firewall rules for the actual ports. Ask the administrator to verify listeners; do not expose management to the internet.
Shared secret mismatch
Compare router and server secrets through a secure channel. Never display them in logs or screenshots. A mismatch may cause timeouts or rejection; status alone does not identify the cause.
Authentication rejected or subscriber expired
Review credentials, enabled status, expiry, quotas, service and allowed NAS devices. Check matching local accounts before changing records.
Wrong speed or service
Review the subscriber’s actual service, units and extra attributes. Inspect the RADIUS response and dynamic queue with a test account; the plan name alone is insufficient.
Missing accounting updates
Verify accounting and interim settings, source/NAS matching and reachability of the accounting port. Review Start, Interim and Stop with the server administrator.
Router API unavailable
Check API enablement, routing, dedicated credentials and source restrictions. RADIUS may keep working when API fails; validate the channels separately.
Cannot sign in to the web portal
Use the correct manager or subscriber portal and check identity and enabled status. Use official manager recovery or contact the subscriber’s provider. Respect retry limits.
Incorrect time settings
Compare router/server clocks, timezones and synchronization. Palestine display time changes seasonally; do not mass-edit subscriber dates to fix a display offset.
Session does not disconnect
Check operation permission, device support, Disconnect reachability and incoming settings. Review the request result and session record; HTTP success does not prove physical disconnection.
Documentation example only — review and replace placeholders before use. This page never executes commands.
# Read-only RouterOS checks; no credentials are displayed by these commands.
/system clock print
/ppp aaa print
/radius incoming print10 / RADIUS
Security practices
Security is shared by platform administration and the network provider. Make operational changes with the authorized administrator and a rollback plan.
- Use strong unique passwords, individual manager accounts and least privilege. Review access regularly.
- Protect shared secrets, API credentials and exported vouchers. Do not share passwords or recovery codes in chat or logs.
- Use HTTPS, separate the management network and restrict API/RADIUS access to intended sources. Do not disable TLS verification or the firewall to bypass a problem.
- Sign out on shared devices and avoid persistent login there. Never share session files or cookies.
- Keep protected off-server backups and rehearse restoration in isolation. Review logs and validate updates in staging before release.
11 / RADIUS
Before going live
This operational checklist is not a certification that a deployed system has passed.
- Test administrator, restricted manager and subscriber login, plus denied unauthorized requests.
- Test a fixture subscriber, service, required speed/time/data limits, vouchers and first-use timing.
- Verify authentication, Start/Interim/Stop, disconnect and reconnect on the tested RouterOS version.
- Test printing, exports, permissions, backup/restore and rollback. Do not use customer records for deletion or payment tests.
Command reference
Examples follow current platform operations. Check MikroTik documentation and your device version before making changes.
MikroTik RADIUS · MikroTik PPP AAA