My Microtik Scripts
Find a file
2025-06-01 19:44:53 +03:00
AutoBackup.rsc Add console output scripts 2023-05-13 11:14:11 +03:00
AutoUpdateFirware.rsc Add upgrade RouteBoard script 2023-03-01 09:05:45 +02:00
AutoUpdateRouteBoard.rsc Add upgrade RouteBoard script 2023-03-01 09:05:45 +02:00
CheckPPPoEAndRoutes.rsc Add CheckPPPoEAndRoutes.rsc 2024-06-28 04:54:21 +03:00
LedsDayMode.rsc Add new scripts. 06.12.2020 2021-01-06 13:25:08 +02:00
LedsNightMode.rsc Add new scripts. 06.12.2020 2021-01-06 13:25:08 +02:00
LedsToggleMode.rsc Add new scripts. 06.12.2020 2021-01-06 13:25:08 +02:00
LICENSE Initial commit 2020-11-14 22:14:03 +02:00
README.md Update README.md 2025-04-12 17:14:36 +03:00
RebootStatus.rsc Add UTF8 text messages - 2 2022-10-31 17:07:42 +02:00
resolve-novpn.rsc Add resolve-novpn script 2025-06-01 19:44:53 +03:00
TelegramMessage.rsc Add new scripts. 06.12.2020 2021-01-06 13:25:08 +02:00
vpnscript.rsc Add console output scripts 2023-05-13 11:14:11 +03:00

My MikroTik Scripts Collection

A set of automation and optimization scripts for MikroTik RouterOS devices.

📌 Description

This repository contains scripts designed for:

  • Automatic configuration backups
  • Firmware and RouterOS updates
  • PPPoE and routing monitoring
  • LED status control
  • Telegram alert notifications
  • VPN connection management

⚙️ Requirements

  • RouterOS version 6.45 or higher (some scripts may require newer versions)
  • Enabled packages: system, scheduler, fetch, tool
  • Internet access and a valid Telegram bot token (for Telegram-based scripts)

🚀 Installation & Usage

  • Download the required script from this repository
  • Upload it to your MikroTik device via Winbox, WebFig, or SSH
  • Import the script using the following command:
/import file-name=script_name.rsc
  • Customize the script parameters if needed

📄 Script List

  • AutoBackup.rsc — automated configuration backups
  • AutoUpdateFirmware.rsc — automated firmware updates
  • AutoUpdateRouterOS.rsc — RouterOS upgrade automation
  • CheckPPPoEAndRoutes.rsc — PPPoE and route state verification
  • LedsDayMode.rsc / LedsNightMode.rsc / LedsToggleMode.rsc — LED mode control
  • RebootStatus.rsc — reboot logging and monitoring
  • TelegramMessage.rsc — send notifications via Telegram
  • vpnscript.rsc — automated VPN connection management

🧩 Example Usage

Example of scheduling automatic configuration backups:

/system scheduler add interval=1d name=AutoBackup on-event="/system script run AutoBackup" start-date=2020-11-14 start-time=03:30:00

🛡️ License

GPL-3.0.

🤝 Contributions

Suggestions and improvements are welcome! Feel free to open an issue or submit a pull request.

📬 Contact

Author: laspavel

Feel free to reach out with questions or ideas.