VVimifyBack to dashboard

Vimify Edge · MikroTik guide

Install Vimify on MikroTik with RADIUS.

Your vouchers and mobile-money TIDs remain in Vimify Cloud. The local gateway receives only renewable, 15-minute device permissions.
Vimify CloudSecure syncVimify EdgePrivate LANRADIUS routerNo TIDs or customer phone numbers are copied to the gateway.

MikroTik + RADIUS

Complete terminal installation

Designed for RouterOS v7 HotSpot deployments using an external Vimify Edge gateway.
1Linux gatewayRuns Vimify Edge
RADIUS · private LAN
2MikroTik RouterOSControls hotspot sessions
Captive portal
3Customer deviceNo account required

Before you begin

Gateway IPA fixed LAN address, for example 192.168.88.2Router IPAdded to VIMIFY_RADIUS_CLIENTSEnrollment valuesCloud URL, hotspot ID, device ID and edge tokenRADIUS secretOne long random secret entered on both devices
  1. 01

    Linux gateway

    Download and install Vimify Edge

    Open the Linux terminal. Node.js 20 or newer must already be installed.
    Ubuntu / Debian terminal
    curl -fL https://vimify.ug/downloads/vimify-edge-0.3.0.tar.gz -o vimify-edge.tar.gz
    mkdir -p vimify-edge
    tar -xzf vimify-edge.tar.gz -C vimify-edge
    cd vimify-edge
    sudo ./install.sh
  2. 02

    Linux gateway

    Add enrollment and RADIUS settings

    Replace every placeholder in the configuration file. Set VIMIFY_RADIUS_CLIENTS to the MikroTik LAN IP and use the same secret you will paste into RouterOS.
    Save configuration and start
    sudo nano /etc/vimify-edge.env
    sudo systemctl enable --now vimify-edge
    sudo systemctl status vimify-edge
  3. 03

    MikroTik RouterOS

    Configure RADIUS and the captive portal

    Open Terminal in WinBox/WebFig or connect by SSH. Change the first four values, confirm the HotSpot profile name with /ip hotspot profile print, then paste the full block.
    RouterOS terminal
    :local edgeIp "192.168.88.2"
    :local radiusSecret "CHANGE_TO_YOUR_RADIUS_SECRET"
    :local hotspotProfile "hsprof1"
    :local hotspotId "hotspot-kla-central"
    
    /system backup save name=before-vimify
    /radius remove [find where comment="Vimify Edge"]
    /radius add service=hotspot address=$edgeIp secret=$radiusSecret authentication-port=1812 accounting-port=1813 timeout=3s require-message-auth=yes-for-request-resp comment="Vimify Edge"
    /ip hotspot profile set [find where name=$hotspotProfile] use-radius=yes radius-accounting=yes radius-interim-update=5m login-by=mac,http-pap mac-auth-mode=mac-as-username-and-password radius-mac-format=XX-XX-XX-XX-XX-XX
    /ip hotspot walled-garden remove [find where comment="Vimify Cloud"]
    /ip hotspot walled-garden add dst-host=vimify.ug action=allow comment="Vimify Cloud"
    :local templateUrl ("https://vimify.ug/api/v1/edge/mikrotik/login-template?hotspot=".$hotspotId)
    /tool fetch url=$templateUrl dst-path="hotspot/login.html" mode=https
    These commands create a backup, add Vimify as the HotSpot RADIUS service, keep Message-Authenticator protection enabled, allow the cloud portal before login, and install the matching captive login page.
  4. 04

    Verification

    Confirm the first connection

    Join the hotspot with a phone. The Vimify portal should open, pass the phone’s MAC address to the cloud, and return the approved device to the router for local RADIUS authentication.
    RouterOS health checks
    /radius monitor [find where comment="Vimify Edge"]
    /ip hotspot active print
    /log print where topics~"radius|hotspot"
    ✓ RADIUS monitor shows requests and accepts✓ Active user is marked as a RADIUS session✓ Vimify Edge reports healthy cloud sync✓ The TID remains only in Vimify Cloud

Troubleshooting

Three checks solve most installations

RADIUS timeoutConfirm the gateway IP, firewall rules, router IP in VIMIFY_RADIUS_CLIENTS, and UDP ports 1812/1813.
Bad repliesThe RADIUS secret differs between the gateway and RouterOS. Re-enter the same secret on both.
Portal does not openConfirm the HotSpot profile uses the default hotspot HTML directory and the Vimify domain appears in walled garden.

RouterOS references: RADIUS, HotSpot, and captive portal customization.

Three steps

From download to first connection

01

Prepare a small gateway

Use a Linux device with Node.js 20 or newer on the same private network as your hotspot router.

02

Install Vimify Edge

Download the agent, run its installer, then paste the enrollment values generated for this hotspot.

03

Point the router to Edge

Set the gateway as the router’s RADIUS server. Vimify will begin authorizing paid devices and recording usage.

Works with

A router that supports external RADIUS

MikroTik, OpenWrt, UniFi, Omada, pfSense, and other compatible hotspot systems can connect through the Linux gateway.Open other-device installations in a new window ↗
✓ RADIUS MAC authorization✓ Start, interim & stop accounting✓ Short offline protection✓ Cloud-only voucher records