![]() |
![]() |
RouterOS Scripts a collection of scripts for MikroTik RouterOS |
ℹ️ Info: This script can not be used on its own but requires the base installation. See main README for details.
RouterOS can act on received SMS. Reboot the device from remote or do whatever is required.
A broadband interface with SMS support is required.
Just install the script:
$ScriptInstallUpdate sms-action;
The configuration goes to global-config-overlay, this is the only parameter:
SmsAction: an array with pre-defined actionsℹ️ Info: Copy relevant configuration from
global-config(the one without-overlay) to your localglobal-config-overlayand modify it to your specific needs.
Then enable SMS actions:
/tool/sms/set allowed-number=+491234567890 receive-enabled=yes secret=s3cr3t;
Send a SMS from allowed number to your device’s phone number:
:cmd s3cr3t script sms-action action=reboot;
The value given by “action=” is one of the pre-defined actions from
SmsAction.
RouterOS Scripts documentation generated on Wed, 27 May 2026 09:15:34 +0200 for next/3531/b00a213e
Copyright © 2013-2026 Christian Hesse <mail@eworm.de>