Skip to main content

Add a NAS

Overview

This page explains how to register a new NAS (a router/gateway such as a MikroTik) so Netzur IMBS can authenticate the subscribers on it through RADIUS. You'll enter the device's name, type, IP address and a shared secret, then save.

Who Can Use This Feature

Network administrators and engineers.

Required Permissions

  • NAS → Add (and NAS → Mikrotik for MikroTik-specific options).

Prerequisites

  • The router is installed and reachable on the network.
  • You have the router's management IP address.
  • You can configure the same shared secret and RADIUS/CoA settings on the router.

Networking → NAS → Add NAS

The Add NAS form showing the AAA section fields

Step-by-Step Instructions

  1. Go to Networking → NAS and select Add NAS.
  2. Under the AAA section, complete the required fields (marked with *):
    • Nas Name — a friendly short name.
    • Nas Type — choose the device family (e.g. Mikrotik).
    • Nas IP Address — the router's management IP.
    • Shared Secret — type a secret, or select Generate to create a strong one. Use the same value on the router.
    • Interim Time (Minute) — how often the router reports session accounting updates.
    • Coa-Port — the port for live change/disconnect instructions (commonly 3799).
  3. Leave Enabled on so the NAS is active.
  4. (Optional) Expand Monitoring to let Netzur read live stats from the device and alert you when it goes up or down (see the Monitoring fields below).
  5. (Optional) Expand Advance for extra network options such as logging, default package/group and request blocking (see the Advance fields below).
  6. Select Save.

Hotspot self-registration is set up after the NAS is created: open the NAS again (Edit) and use the Hotspot tab. See Hotspot Configuration.

Field Reference

FieldRequiredDescriptionExample
Nas NameYesFriendly short name for the device.Office-NAS
Nas TypeYesDevice family. Options include Mikrotik, Accel-PPP, NetElastic, Cisco, Juniper, Huawei, Ericsson, Alcatel, MPD, Bison-Router, Netvyn, Other.Mikrotik
Nas IP AddressYesManagement IP address of the router.10.0.0.1
Shared SecretYesPassword shared between the router and Netzur (use Generate for a strong one).(kept secret)
Interim Time (Minute)YesInterval for session accounting updates from the router.5
Coa-PortYesPort for Change-of-Authorization / disconnect messages.3799
EnabledNoWhether the NAS is active.On

Monitoring section

FieldRequiredDescriptionExample
MikroTik API UsernameNoLogin the router API uses so Netzur can read live stats. (Sensitive — never share/screenshot.)apiuser
MikroTik API PasswordNoPassword for the router API. (Sensitive.)(kept secret)
MikroTik API PortNoThe router's API port.8728
WinBox PortNoThe router's WinBox port.8291
Ping MonitoringNoTurn on the reachability (ping) check for this NAS.On
Up/Down AlertNoSend an alert when the NAS goes offline or comes back.On
Telegram Chat IDNoWhere up/down alerts are sent on Telegram.(chat id)

Advance section

FieldRequiredDescriptionExample
Default PackageNoPackage assigned by default for sessions from this NAS.Basic 20 Mbps
Default User GroupNoUser group assigned by default.default
Blocked Address ListNoA router address-list used to restrict/park subscribers.blocked
Blocked IP PoolNoAn IP pool used for blocked/parked subscribers.park-pool
Block Unwanted RequestsNoReject authentication requests that shouldn't be served.On
Catch UsernameNoRecord the username seen in each request from this NAS, for troubleshooting/logging.On/Off
Catch PasswordNoRecord the password seen in each request. Use only when diagnosing auth problems, as it logs credentials.On/Off
Log Server TypeNoWhere this NAS's logs are sent (the type of external log server).
Log Server PrefixNoA prefix/directory used to tag or store this NAS's log entries.NAS01

Hotspot self-registration is configured separately on the NAS Edit screen — see Hotspot Configuration.

What Happens After Saving

The NAS is added to your list and becomes active. ⚠ Netzur restarts the RADIUS service so the new device takes effect, and it begins a reachability check (shown as Status on the NAS list). For a MikroTik with monitoring configured, live stats become available under the NAS Statistics action.

Important Notes

  • The shared secret and CoA-Port must match on both the router and Netzur.
  • ⚠ Saving restarts RADIUS — brief and normal, but best done in a quiet period.
  • The Monitoring fields ask for the router's API login. Treat these credentials as sensitive; they are never shown to subscribers and should not appear in screenshots.

Common Mistakes

  • Entering a shared secret that doesn't match the router.
  • Choosing the wrong Nas Type.
  • Forgetting to open the CoA-Port on the router/firewall, which breaks live disconnect/suspend.

Troubleshooting

ProblemLikely causeWhat to do
New NAS shows UnreachableRouter unreachable or wrong IP/credentialsConfirm the IP and that the device is online; check firewall.
Subscribers can't authenticateSecret mismatch or NAS not enabledRe-check the shared secret; confirm Enabled is on.
No live statistics for a MikroTikMonitoring/API details missing or wrongRe-open the NAS, expand Monitoring, and confirm the router API details.