Aaron's Implementation of theMikroTik RouterOS API in Ruby
Photo: Sand in BloomIPv4You are not logged in. Click here to log in.
MTik -- A Ruby implementation of the MikroTik RouterOS API
The MTik gem implements the MikroTik RouterOS API for connecting to devices running RouterOS (with the API enabled) over the network.
The latest version is version 4.1.2 released on 24 August 2020.
You can view the most recent changes in the CHANGELOG here.
You can download the latest GEM here:
This gem and all other scripts and documentation files are licensed under a BSD-style license. (See the LICENSE.txt file.)
Basic RDoc documentation can be found at:
MikroTik's online wiki has documentation at:
For general documentation about the MikroTik RouterOS API, see:
To install MTik is through its GEM file:
The latest GEM file is available for download at:% [sudo] gem install mtik-4.1.2.gem
Included in the bin subdirectory of the GEM are four example ruby scripts that use the Ruby API implementation:
Please report bugs by going to the author's web site and clicking on the "Contact Me" link in the left-hand menu. The direct URL is:
Additionally, issues may be reported on GitHub, though it's still a good idea to drop the author a note as mentioned after reporting an issue via GitHub.
-- Aaron D. Gifford