Access your MikroTik router remotely without a public or static IP

Updated on · MonMikroTik team

Most WiFi zones are connected through a 4G box, a fiber box or a shared link. In these cases, the MikroTik router has no public IP, or its IP changes regularly. As a result, it cannot be reached from outside with Winbox or Mikhmon. This guide explains how to solve this problem without a static IP and without opening any port.

Why your router cannot be reached

  • CGNAT: 4G operators share the same public IP among many subscribers. Your router sits behind it, invisible from the Internet.
  • Double NAT: the MikroTik is plugged in behind a box that already does NAT.
  • Dynamic IP: the address changes every time the box restarts.

Opening ports on the box, when possible, also exposes the API and Winbox to the whole Internet, which is risky.

The solution: an outgoing VPN tunnel

With the MonMikroTik VPN, your router initiates the connection to our servers. An outgoing connection goes through CGNAT and boxes like any web browsing. Once the tunnel is up, your router gets a fixed private address in our network, and the platform can reach it at any time.

The VPN works with L2TP or OpenVPN, two protocols available on RouterOS v6 and v7.

Install the MonMikroTik VPN

  1. In your MonMikroTik account, subscribe to the VPN for your router (1 credit per month, i.e. 500 FCFA).
  2. Open the VPN page: an installation command is displayed. Click Copy.
  3. In Winbox, open New Terminal and paste the command. The router downloads and applies its configuration.
  4. The tunnel comes up within seconds. The status switches to online in your account.

Every screen, the Winbox access ports and troubleshooting are explained in the guide Install the MonMikroTik VPN.

Then add (or edit) your router in Mikhmon Online using the tunnel address as the router address.

The API must be enabled on the router: in Winbox, IP > Services, enable the api line (port 8728), or type /ip service enable api in the terminal.

Bonus: access your antennas remotely

Behind your MikroTik there are often antennas and access points: Ubiquiti, TP-Link, Ruijie, Grandstream… With the device access option:

  • devices on the local network are detected automatically;
  • you see at a glance which ones are online or offline;
  • you open their web interface remotely through temporary and secure access, without going on site.

MonMikroTik VPN or other solutions?

SolutionLimits
Static public IPPaid, rarely available on 4G, exposes the router if poorly protected.
DDNS (MikroTik IP Cloud)Does not work behind CGNAT or double NAT.
Back To Home (MikroTik)Gives network access from a phone, not to a management platform.
MonMikroTik VPNWorks on RouterOS v6 and v7, behind any connection, integrated with Mikhmon Online and antenna access.

Manage your MikroTik hotspot from the cloud

Mikhmon Online, ticket sales via Orange Money and Moov Money, resellers and VPN. Free sign-up.