# Mikrotik

[Sinip](https://sinip.tech) enables you to remotely manage **Router Board (Mikrotik)** devices that don't have a public IP address.

## Pre-requisites

To remotely manage your *Mikrotik* devices you'll need:

* One or more Mirkotik devices to be used as `Remote Devices`
* A PC or Smartphone to be used as `Admin Device`
* A *key* (file with .ovpn extension) downloaded from you [Sinip account](https://my.sinip.tech)

{% hint style="danger" %}
Remember: *key* files allow you to connect devices to your *Sinip* network, don't give them to anyone!
{% endhint %}

You'll need to connect to you Mikrotik devices using [`WinBox`](https://mikrotik.com/download), you can download it from here: <https://download.mikrotik.com/routeros/winbox/3.24/winbox.exe>

{% hint style="info" %}
If you're on *Windows* you can use `WinBox` directly, if you're on *Linux* or *MacOS* use [Wine](https://www.winehq.org/).
{% endhint %}

## Connect a Mikrotik device to your Sinip network

Download an unused *key* from your [Sinip account](https://my.sinip.tech). Make sure that you're not currently using the same key in another device. Start `WinBox` and drag the *key* file (with *.ovpn* extension) to the *"Files"* section.

![](/files/-MKVdXA9b5KglGAFaof0)

{% hint style="warning" %}
Each Mikrotik device must use a *key* that is not currently used by any other device in your *Sinip* network.
{% endhint %}

Start up a *terminal* from the *"New Terminal"* section and run the following command. Replace `<key_file_name>` with the name of the *key* file you've downloaded.

```
certificate import file-name=<key_file_name>.ovpn
```

It will ask for a *passphrase*, leave it blank and press *Enter*.

![](/files/-MKVdXAAXgP2EzdKVDF0)

Go to the *"PPP"* menu and click the *"+"* button, then select *"OVPN Client"*.

![](/files/-MKVdXABX3cDgpwOlvrF)

Fill up the configuration form with these values:

* **Connect To:** station1.sinip.tech
* **Port:** 1194
* **Mode:** ip
* **User:** sinip
* **Password:** *(leave this blank)*
* **Profile:** default
* **Certificate:** `<key_file_name>`.ovpn\_1

Replace `"key_file_name"` with the name of the *key* file you've downloaded.

* **Auth:** sha1
* **Cipher:** aes 128
* **Add Default Route:** *(unchecked)*

![](/files/-MFlg-zRh3O8sFhBRzuZ)

Click on *"Apply"*.

If everything went well, in the bottom right corner you'll see the *"Status"* indicator as *"link established"* and then, after a few seconds, *"connected"*.

![](/files/-MFlg-zSTDiuKfv6ZsNX)

{% hint style="success" %}
If the *"Status"* is *"connected"*, your device is successfully connected to your *Sinip* network and ready to use!
{% endhint %}

## Remotely manage a Mikrotik device

Once your Mikrotik device is connected to you *Sinip* network, you can manage it from an admin PC or Smartphone.

### From an `Admin PC`

Connect an `Admin PC` to your *Sinip* network by following the [Admin PC guide](/sinip/lang-en/setup-admin-devices/pc.md).

Then, using the *Sinip* IP address of your Mikrotik device (the one listed in your [Sinip account](https://my.sinip.tech)), you can connect to it using [`WinBox`](https://mikrotik.com/download) or via the web interface with a web browser.

{% hint style="info" %}
The IP addresses in the following images are examples, replace them with the *Sinip* IP address of each of you devices listed in your [Sinip account](https://my.sinip.tech).
{% endhint %}

![](/files/-MFlg-zTBgMty8ZpZSu_)

![](/files/-MFlg-zU_CFIHmPOSBZT)

### From an `Admin Smartphone`

Connect an `Admin Smartphone` to your *Sinip* network by following the [Admin Smartphone guide](/sinip/lang-en/setup-admin-devices/smartphone.md).

Then, using the *Sinip* IP address of your Mikrotik device (the one listed in your [Sinip account](https://my.sinip.tech)), you can connect to it using the Mikrotik apps you'll find on the app stores.

{% hint style="info" %}
The IP addresses in the following images are examples, replace them with the *Sinip* IP address of each of you devices listed in your [Sinip account](https://my.sinip.tech).
{% endhint %}

* Android: <https://play.google.com/store/apps/details?id=com.mikrotik.android.tikapp>
* iOS (iPhone): <https://apps.apple.com/us/app/mikrotik/id1323064830>

![](/files/-MFlg-zVvVYUh9QU4Nk0)

Manage the Mikrotik devices connected to you *Sinip* network via Mirkotik apps.

![](/files/-MKVdXAHE8MJY3x_vQhq)

Or use a web browser to access its web interface.

![](/files/-MLJ5KxojfYcHHyhqIAa)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sinip.tech/sinip/lang-en/setup-remote-devices/mikrotik.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
