/ip hotspot  →  RouterOS config generator

MikroTik Hotspot + RADIUS Generator

For voucher and card-based access — captive portal login instead of PPPoE dial-in. Fill in your network and RADIUS details on the left, get a ready-to-import script on the right.

Interface & addressing
Captive portal
RADIUS (SAS4 / any RFC-2865 server)
Server & profile names
Hardening
hotspot-config.rsc

What this script sets up

Hotspot login is a different access model from PPPoE — clients get a DHCP lease first, then get redirected to a login page before they're allowed out. Six pieces, wired together correctly.

01 · DHCP

A DHCP server on the hotspot interface — clients need an IP before they can even see the login page.

02 · IP pool

The address range handed out to connecting devices, shared between DHCP and the hotspot server.

03 · RADIUS

Registered with service=hotspot (not ppp) — authentication and accounting for voucher logins.

04 · Hotspot profile

Carries the login page hostname and turns on RADIUS with a 5-minute interim update for live usage data.

05 · Walled garden

Optional — lets a specific domain (like a payment page) load before the subscriber logs in.

06 · Firewall

Same WAN-side Winbox/Telnet hardening as the PPPoE generator.

Before you deploy: this is a starting template. Voucher/user creation itself happens on your RADIUS platform (SAS4, etc.), not in this script — this only wires the router to talk to it. Test with one voucher before rolling out further.