Menu

Back to wiki

How to Add a Router with RADIUS Authentication (MikroTik)

Published Feb 07, 2026 Updated Feb 07, 2026 3 min read

This guide explains how to add a router in ISPBox using RADIUS auth (typically PPPoE).

Recommendation First

We recommend these two production setups:

  • WireGuard + API (best automation)
  • WireGuard + RADIUS (secure tunnel + RADIUS auth)

Use this Public IP + RADIUS method only when WireGuard is not yet available.

WireGuard setup guide: How to add a router with WireGuard + API (MikroTik)


Requirements

  • Router must have a reachable public IP.
  • If the router is behind NAT, still enter the real reachable public IP (the upstream/WAN public address that reaches this router).
  • Public IP should be stable. If it changes often, use WireGuard instead.
  • You must configure the same RADIUS shared secret on both sides (ISPBox and MikroTik).

Step 1: Open the Router Form

  1. Go to Settings -> Routers.
  2. Click Add Router.


Step 2: Fill Router Information (RADIUS)

Set fields like this:

  • Router Name: your internal label (example: Router-radius)
  • Connection ModePublic IP
  • Public IP Address: reachable router public IP (even if router is behind NAT)
  • Auth TypePPPOE or DHCP (RADIUS flow)
  • StatusActive
  • RADIUS Secret: generated/shared secret (copy it, you will need it on MikroTik)
  • Description: optional

Then click Add Router.


Step 3: Configure Network Pools

In Network Pools:

  • Click Use default, or
  • Click Add the first pool and define your PPPoE pool manually.

Typical PPPoE example:

  • Name: PPPoE
  • Type: Pppoe
  • Subnet: 10.0.0.0/24
  • Gateway: 10.0.0.1
  • DNS: 8.8.8.8, 1.1.1.1


Step 4: Configure MikroTik RADIUS Side (WinBox)

Step 4.1: Open RADIUS settings

  1. Open WinBox and connect to your MikroTik.
  2. In the left menu, go to RADIUS.

Step 4.2: Add a new RADIUS server

  1. Click + to create a new entry.
  2. Configure fields:
  • Service: select what you use (pppdhcphotspot, or wireless).

  • Address:

    • 172.28.254.1 for WireGuard mode.
    • 91.98.168.123 for Public IP mode.
  • Protocoludp

  • Secret: use exactly the same RADIUS Secret as in ISPBox.

  • Authentication Port1812

  • Accounting Port1813

  • Timeout3000 ms

  • Src. Address (important):

    • If MikroTik does not have a public IP directly on its interfaces (router behind NAT), add your public IP as /32 on an interface and set that IP as Src. Address.
    • Without correct Src. Address, ISPBox may not identify the router correctly.

Notes:

  • WireGuard (recommended): prefer WireGuard transport for RADIUS traffic.
  • Public IP mode: if no public IP exists on MikroTik interfaces, Src. Address is required.

Step 4.3: Save and verify

  1. Click Apply and OK.
  2. Make sure firewall/routing allows RADIUS traffic to ISPBox (UDP 1812/1813).


Step 5: Verify It Works

In Settings -> Routers check:

  • Router appears in the list.
  • Monitoring = Online.
  • Correct Public IPAuth Type, and RADIUS Secret are shown.

If it is Offline or auth fails:

  • Re-check reachable public IP.
  • Re-check NAT/port forwarding/firewall path.
  • Re-check RADIUS secret match.
  • Confirm MikroTik is actually using RADIUS for PPP auth.


  1. Build WireGuard first using this guide:
    How to add a router with WireGuard + API (MikroTik)
  2. Then configure router auth as RADIUS in ISPBox for PPPoE flow.