| Tag | Replaced with | |------|----------------| | $(link-login) | Full URL to login script | | $(link-login-only) | Login script URL without query | | $(link-status) | Status page URL | | $(error) | Error message (e.g., "wrong password") | | $(chap-id) | CHAP challenge ID | | $(chap-challenge) | CHAP challenge string | | $(mac) | Client MAC address |
MikroTik RouterOS features a built-in portal that intercepts client HTTP requests and serves a login page. The default templates are basic and unbranded. However, administrators can fully customize the HTML/CSS/JS interface (the "login page template") to match branding, enforce Acceptable Use Policies (AUP), integrate with external payment gateways (e.g., PayPal, Stripe, or local SMS providers), or collect user data. Custom templates are stored on the router’s filesystem ( /hotspot/ ) and referenced via the hotspot profile.
for high-quality, mobile-friendly templates with advanced features like QR code login. MikroTik Forums: The official MikroTik Forum
Without these, the template is just a pretty face with no function.
: Automatically redirects the user to the login page when they first try to access the internet.