Router Add Karna
MikroTik router dashboard mein register karo
Step 1 — MikroTik API Enable Karo
Pehle router par API access enable karna hoga:
winbox
Winbox → IP → Services → api → Enable karo
Default Port: 8728 (plain) ya 8729 (SSL)routeros
/ip service enable api
/ip service set api port=8728Step 2 — API User Banao (Recommended)
Security ke liye dedicated API user banao:
winbox
System → Users → Add (+)
Name: mikronest-api
Group: full
Password: ************
Allowed Address: [bridge PC ka IP]Security Best Practice
Allowed Address mein sirf bridge PC ka IP daalo taake sirf woh connect kar sake.Step 3 — Dashboard Mein Add Karo
1
Dashboard > Routers par jao
2
Add Router button click karo
3
Form fill karo
form
Name * : Main-Tower-ISP
IP Address * : 192.168.1.1
API Port : 8728
Username * : mikronest-api
Password * : ************
Bridge Agent *: Main-Office-Bridge
Status : Active4
Save click karo
Step 4 — Connection Test
Router save hone ke baad system automatically connection test karega. Status badge update hoga.
| Badge | Matlab |
|---|---|
| ONLINEONLINE | Successfully connected |
| OFFLINEOFFLINE | Connection fail — credentials check karo |
Common Errors
| Error | Cause | Solution |
|---|---|---|
| Connection refused | API port closed | Winbox mein API service enable karo |
| Authentication failed | Wrong credentials | Username/password double-check karo |
| Bridge offline | Bridge agent down | mikronest-bridge start chalao |
| Timeout | IP unreachable | Router ping test karo bridge PC se |