Documentation

Setup guides and reference documentation for connecting your MikroTik routers remotely.

Overview

MIKROTIK REMOTE provides remote access to your MikroTik routers through a secure VPN tunnel. Each router connects outbound to the server, eliminating the need for static IP addresses or manual port forwarding.

How it works: Your router establishes an OpenVPN connection to our server. We assign a static IP and forward ports automatically. You access your router using the provided remote addresses.

Step 1: Adding a Router

After logging into the client portal:

  1. Navigate to My MikroTiks in the sidebar.
  2. Complete the registration form:
    • Router Name — A friendly identifier (e.g., "Office Main")
    • VPN Username — Unique credential for this router
    • VPN Password — Secure password for authentication
    • API Username — Router admin username (typically "admin")
    • API Password — Router admin password
  3. Submit the form. The system assigns:
    • Static VPN IP address (10.8.0.x range)
    • Eight automatic port forwarding rules
    • Account expiry date

Step 2: Connecting Your MikroTik

Run the one-click setup script on your router:

  1. In the portal, locate your router in the My MikroTiks list.
  2. Copy the setup script from the MikroTik One-Click Setup section.
  3. Open WinBox or WebFig and start a New Terminal.
  4. Paste the script and press Enter.
# The script performs these operations:
/certificate import file-name=ca.crt name=ovpn-ca
/interface ovpn-client add name=ovpn-server connect-to=185.53.211.44 ...

# Expected output after ~20 seconds:
status: connected (10.8.0.2)

After connection, refresh the dashboard. The status indicator should show Connected.

Step 3: Monitoring

The Router Status page displays real-time telemetry fetched directly from your router via the MikroTik API:

MetricDescription
IdentitySystem name configured in RouterOS
VersionCurrent RouterOS version
UptimeDuration since last reboot
BoardHardware model identifier
CPU LoadCurrent processor utilization
MemoryRAM usage statistics
DiskStorage utilization
InterfacesNetwork interfaces with traffic counters

Data refreshes automatically every 30 seconds.

Port Forwarding Reference

Each registered router receives automatic forwarding for eight services:

ServicePortAccess Method
HTTP (WebFig)80Browser
HTTPS443Browser (secure)
WinBox8291WinBox application
SSH22Terminal / PuTTY
API8728Custom integrations
API-SSL8729Secure API
FTP21File transfer clients
Telnet23Legacy terminal

Each service is accessible via a unique public port on the server (e.g., 185.53.211.44:45231). View your assigned ports in the My MikroTiks dashboard.

Troubleshooting

VPN Offline Status

Your router has not established a VPN connection. Verify:

API Connection Failed

The dashboard cannot communicate with the router API:

Port Forwarding Not Working

If remote ports are inaccessible:

  1. SSH into the server as root
  2. Run: bash /usr/local/bin/apply-port-forwarding.sh
  3. This reapplies all forwarding rules from the database

Account Access Issues

Expired accounts lose VPN connectivity. Contact your administrator to renew subscription access.