Sometimes, you may want to flash a MikroTik with Minim, but instead of truck rolling to the customers home and grabbing the router to flash using the traditional method. This will explain how to install Minim on an individual router. Over SSH. 

Requirements for initial provisioning:

  • You MUST have SSH access or equivalent and add ether1 MAC address to inventory. 
  • SSH port must be open and set to port 22
  • API port must be open and set to 8728

If you use an obscure SSH port you may enter the following into the bottom script (be sure to add your port number)

/ip firewall nat add comment="Minim SSH Access" chain=dstnat action=dst-nat protocol=tcp dst-port=22 to-port=CHANGEME src-address=

If you would like to do a bulk migration, please contact for assistance.

The first step once you have successfully logged into the MikroTik.
(Default login is "ssh")

  1. Copy this script. or visit our Github  to always be up to date on our provisioning scripts.
/user add group=full name=autoconf password=autoconf address=, comment="Minim Setup User"
/ip route add check-gateway=ping distance=1 dst-address= gateway= comment="Minim API Gateway"
/interface sstp-client add disabled=yes name=Minim-setup-VPN password=autoconf profile=default-encryption user=autoconf_minim comment="Minim setup VPN"
/ip firewall filter add chain=input action=accept in-interface=Minim-setup-VPN place-before=1 comment="Trust traffic from Minim-setup-VPN"
/interface sstp-client set disabled=no [ find where name=Minim-setup-VPN ]

2, The output should look like this (once you Paste, you should not have to hit enter)

3. Then type.  (if the unit does not come online within a couple minutes)

/system reboot

4. Once your device has come back online you should see it in Minim!

Did this answer your question?