MikBot

MikroTik Remote Management

Connect your Router

Generate the secure script to bridge your MikroTik with Telegram.

Please accept the terms to continue.
mikbot_installer.rsc
Bot Commands

Send these commands to your bot in Telegram to manage your network.

/menu
Show main menu with all options.
/status <user>
Get detailed info about a user.
/add
Add a new hotspot user (interactive).
/ppp
Add a new PPPoE user (interactive).
/qrvoucher
Create user and get a printable QR code.
/addProf
Create time-based expiring profiles.
/top
Show top 5 users by data usage.
/delete <user>
Permanently delete a user profile.
/kick <user>
Disconnect active sessions for a user.
/limit <user>
Set data limits (e.g. 10G, 500M).
Installation Guide

Follow these exact steps to link your MikroTik router to Telegram.

Create your Bot on Telegram

Message @BotFather on Telegram. Send /newbot, choose a name, and copy the Bot Token it gives you.

Find your Telegram Chat ID

Message @userinfobot and click Start. Copy your numeric ID. This ensures only you can control the router.

Generate & Paste in MikroTik

Enter the Token and ID in the Setup tab and click Generate. Copy the output, open your MikroTik terminal (via Winbox/SSH), and paste it.

Quick Action Copier

Frequently Asked Questions

Common questions about security and infrastructure.

Does my router need a static public IP?
No. The bot uses Telegram's long-polling method. Your router reaches out to Telegram, so no incoming open ports, port-forwarding, or public IPs are required. It works flawlessly behind CGNAT.
Is the script secure?
Yes. The script strictly checks the Chat ID of incoming messages against the one you provided. Even if someone finds your bot on Telegram, they cannot execute commands unless their ID matches yours exactly.
Can I use multiple bots on one router?
No. Installing a new script will overwrite the previous bot's scheduled tasks. To change bots, simply generate a new script and paste it to overwrite the old one.
My bot stopped responding. What do I do?
1. Check your router's internet access (try pinging 8.8.8.8).
2. Check if the script is running in Winbox under System > Scripts.
3. Check the router logs for errors.