VIMIFY_RADIUS_CLIENTS, and UDP ports 1812/1813.Vimify Edge · MikroTik guide
MikroTik + RADIUS
Linux gateway
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.shLinux gateway
VIMIFY_RADIUS_CLIENTS to the MikroTik LAN IP and use the same secret you will paste into RouterOS.sudo nano /etc/vimify-edge.env
sudo systemctl enable --now vimify-edge
sudo systemctl status vimify-edgeMikroTik RouterOS
/ip hotspot profile print, then paste the full block.: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=httpsVerification
/radius monitor [find where comment="Vimify Edge"]
/ip hotspot active print
/log print where topics~"radius|hotspot"Troubleshooting
VIMIFY_RADIUS_CLIENTS, and UDP ports 1812/1813.hotspot HTML directory and the Vimify domain appears in walled garden.RouterOS references: RADIUS, HotSpot, and captive portal customization.
Three steps
Use a Linux device with Node.js 20 or newer on the same private network as your hotspot router.
Download the agent, run its installer, then paste the enrollment values generated for this hotspot.
Set the gateway as the router’s RADIUS server. Vimify will begin authorizing paid devices and recording usage.
Works with