# alsyundawy/mikrotik-script architecture

> Architecture diagram of the GitHub repository alsyundawy/mikrotik-script, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/alsyundawy/mikrotik-script
- Repository: https://github.com/alsyundawy/mikrotik-script

## Overview

This repository is a collection of MikroTik scripts and how-to notes, rather than a single application with a runtime workflow. Its topics cover traffic filtering, routing and bandwidth management, hotspot and User Manager administration, and device operations. The provided README contains only a repository link, and no source excerpts were available, so relationships between documents or execution stages cannot be established reliably; no edges are asserted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_filtering["Filtering and access"]
  node_keyword_dns["DNS keyword blocking"]
  node_tiktok["TikTok blocking"]
  node_mac_block["MAC address blocking"]
  node_modem_access["Modem access blocking"]
  node_traceroute["Traceroute blocking"]
  node_winbox_exploit["Winbox exploit protection"]
  node_safe_search["Safe search controls"]
  node_vpn_bypass["VPN bypass"]
  node_security_review["Network security guidance"]
end

subgraph group_traffic["Traffic and routing"]
  node_failover_2["Two-ISP failover"]
  node_failover_3["Three-gateway failover"]
  node_pcc["PCC load balancing"]
  node_queue_tree_auto["Automated queue tree"]
  node_simple_queue_auto["Automated simple queues"]
  node_queue_ip_range["Queue IP range scripts"]
  node_simple_queue_ip_range["Simple queue IP range"]
  node_queue_rate["Queue rate updates"]
  node_queue_bypass["Queue bypass techniques"]
  node_queue_multilogin["Multi-login bandwidth limits"]
  node_speedtest["Speedtest matching"]
end

subgraph group_accounts["Hotspot and accounts"]
  node_hotspot_mac["Hotspot MAC bypass"]
  node_hotspot_single["Single hotspot login"]
  node_wms_login["WMS Wi-Fi auto login"]
  node_user_manager_db["User Manager database tasks"]
  node_user_manager_reset["User Manager reset"]
  node_user_manager_logs["User Manager log clearing"]
  node_user_manager_password["User Manager password administration"]
  node_user_manager_usb["User Manager storage path"]
end

subgraph group_operations["Device operations"]
  node_backup["Router backup script"]
  node_dns_flush["DNS cache flush"]
  node_ntp["NTP configuration"]
  node_ip_cloud["IP Cloud remote access"]
  node_public_ip_email["Public IP email notification"]
  node_interface_name["Interface naming"]
end

click node_keyword_dns "https://github.com/alsyundawy/mikrotik-script/blob/master/Blokir%20Situs%20Berdasarkan%20Keyword%20pada%20DNS%20Cache%20Mikrotik.txt"
click node_tiktok "https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20Blokir%20Aplikasi%20Tiktok.txt"
click node_mac_block "https://github.com/alsyundawy/mikrotik-script/blob/master/Blokir%20User%20melalui%20MAC%20address.txt"
click node_modem_access "https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20blokir%20akses%20ke%20Modem.txt"
click node_traceroute "https://github.com/alsyundawy/mikrotik-script/blob/master/Blokir%20TRACEROUTE%20di%20Mikrotik.txt"
click node_winbox_exploit "https://github.com/alsyundawy/mikrotik-script/blob/master/Memblokir%20Serangan%20Winbox%20Exploit%20di%20Mikrotik.txt"
click node_safe_search "https://github.com/alsyundawy/mikrotik-script/blob/master/Safe%20Search%20Google%20and%20Restricted%20Mode%20YouTube.txt"
click node_vpn_bypass "https://github.com/alsyundawy/mikrotik-script/blob/master/BYPASS%20INTERNET%20POSITIF%20DENGAN%20VPN%20PPTP.txt"
click node_security_review "https://github.com/alsyundawy/mikrotik-script/blob/master/Seberapa%20aman%20Jaringan%20Mikrotik%20kita%20dari%20serangan%20luar.txt"
click node_failover_2 "https://github.com/alsyundawy/mikrotik-script/blob/master/FailOver%202%20ISP%20dengan%20Recursive%20Gateway.txt"
click node_failover_3 "https://github.com/alsyundawy/mikrotik-script/blob/master/Routing%20Sederhana%20dengan%20FailOver%203%20Gateway.txt"
click node_pcc "https://github.com/alsyundawy/mikrotik-script/blob/master/Trik%20Load%20Balancing%20PCC%20untuk%20hotspot.txt"
click node_queue_tree_auto "https://github.com/alsyundawy/mikrotik-script/blob/master/Script%20Otomatis%20Custom%20Queue%20Tree%20dan%20Mangle%20Hotspot%20Mikroti.txt"
click node_simple_queue_auto "https://github.com/alsyundawy/mikrotik-script/blob/master/Script%20Otomatis%20Custom%20Simple%20Queue%20Hotspot%20Mikrotik.txt"
click node_queue_ip_range "https://github.com/alsyundawy/mikrotik-script/blob/master/Script%20Otomatis%20Untuk%20membuat%20Queue%20Tree%20IP%201-255.txt"
click node_simple_queue_ip_range "https://github.com/alsyundawy/mikrotik-script/blob/master/Script%20Otomatis%20Untuk%20membuat%20simple%20Queue%20IP%201-255.txt"
click node_queue_rate "https://github.com/alsyundawy/mikrotik-script/blob/master/Auto%20Update%20MaxLimit%20Queue%20Tree%20Berdasarkan%20Avg%20Rate.txt"
click node_queue_bypass "https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20bypass%20semua%20IP%20local%20agar%20tidak%20terlimit.txt"
click node_queue_multilogin "https://github.com/alsyundawy/mikrotik-script/blob/master/Melimit%20Bandwidth%20Multi%20Login%20di%20Simple%20Queue.txt"
click node_speedtest "https://github.com/alsyundawy/mikrotik-script/blob/master/Speedtest%20Mangle%20%20layer7%20Mikrotik.txt"
click node_hotspot_mac "https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20bypass%20user%20hotspot%20melalui%20macaddress.txt"
click node_hotspot_single "https://github.com/alsyundawy/mikrotik-script/blob/master/Memastikan%20hanya%201%20ID%20hotspot%20yang%20boleh%20login.txt"
click node_wms_login "https://github.com/alsyundawy/mikrotik-script/blob/master/Auto%20Login%20WMS%20wifi.id%20di%20Mikrotik.txt"
click node_user_manager_db "https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20rebuild%20database%20di%20User%20Manager.txt"
click node_user_manager_reset "https://github.com/alsyundawy/mikrotik-script/blob/master/Reset%20database%20User%20Manager%20ke%20default.txt"
click node_user_manager_logs "https://github.com/alsyundawy/mikrotik-script/blob/master/Menghapus%20semua%20log%20di%20User%20Manager.txt"
click node_user_manager_password "https://github.com/alsyundawy/mikrotik-script/blob/master/Merubah%20Default%20Admin%20Password%20User%20Manager.txt"
click node_user_manager_usb "https://github.com/alsyundawy/mikrotik-script/blob/master/Merubah%20path%20Database%20User%20Manager%20ke%20USB.txt"
click node_backup "https://github.com/alsyundawy/mikrotik-script/blob/master/2%20Cara%20Backup%20Mikrotik%20melalui%20Script.txt"
click node_dns_flush "https://github.com/alsyundawy/mikrotik-script/blob/master/SCRIPT%20DNS%20CACHE%20FLUSH.txt"
click node_ntp "https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20Setting%20NTP%20Network%20Time%20Protocol%20di%20Mikrotik.txt"
click node_ip_cloud "https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20mengaktifkan%20IP%20CLOUD%20untuk%20remote%20diluar%20jaringan.txt"
click node_public_ip_email "https://github.com/alsyundawy/mikrotik-script/blob/master/Mengirim%20IP%20Public%20Jika%20Ada%20Perubahan%20IP%20ke%20Email.txt"
click node_interface_name "https://github.com/alsyundawy/mikrotik-script/blob/master/Merubah%20Nama%20Interface%20ether%20Mikrotik%20Default.txt"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_keyword_dns,node_tiktok,node_mac_block,node_modem_access,node_traceroute,node_winbox_exploit,node_safe_search,node_vpn_bypass,node_security_review toneBlue
class node_failover_2,node_failover_3,node_pcc,node_queue_tree_auto,node_simple_queue_auto,node_queue_ip_range,node_simple_queue_ip_range,node_queue_rate,node_queue_bypass,node_queue_multilogin,node_speedtest toneAmber
class node_hotspot_mac,node_hotspot_single,node_wms_login,node_user_manager_db,node_user_manager_reset,node_user_manager_logs,node_user_manager_password,node_user_manager_usb toneMint
class node_backup,node_dns_flush,node_ntp,node_ip_cloud,node_public_ip_email,node_interface_name toneRose
```

## Components

### Filtering and access

- [DNS keyword blocking](https://github.com/alsyundawy/mikrotik-script/blob/master/Blokir%20Situs%20Berdasarkan%20Keyword%20pada%20DNS%20Cache%20Mikrotik.txt): `Blokir Situs Berdasarkan Keyword pada DNS Cache Mikrotik.txt`
- [TikTok blocking](https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20Blokir%20Aplikasi%20Tiktok.txt): `Cara Blokir Aplikasi Tiktok.txt`
- [MAC address blocking](https://github.com/alsyundawy/mikrotik-script/blob/master/Blokir%20User%20melalui%20MAC%20address.txt): `Blokir User melalui MAC address.txt`
- [Modem access blocking](https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20blokir%20akses%20ke%20Modem.txt): `Cara blokir akses ke Modem.txt`
- [Traceroute blocking](https://github.com/alsyundawy/mikrotik-script/blob/master/Blokir%20TRACEROUTE%20di%20Mikrotik.txt): `Blokir TRACEROUTE di Mikrotik.txt`
- [Winbox exploit protection](https://github.com/alsyundawy/mikrotik-script/blob/master/Memblokir%20Serangan%20Winbox%20Exploit%20di%20Mikrotik.txt): `Memblokir Serangan Winbox Exploit di Mikrotik.txt`
- [Safe search controls](https://github.com/alsyundawy/mikrotik-script/blob/master/Safe%20Search%20Google%20and%20Restricted%20Mode%20YouTube.txt): `Safe Search Google and Restricted Mode YouTube.txt`
- [VPN bypass](https://github.com/alsyundawy/mikrotik-script/blob/master/BYPASS%20INTERNET%20POSITIF%20DENGAN%20VPN%20PPTP.txt): `BYPASS INTERNET POSITIF DENGAN VPN PPTP.txt`
- [Network security guidance](https://github.com/alsyundawy/mikrotik-script/blob/master/Seberapa%20aman%20Jaringan%20Mikrotik%20kita%20dari%20serangan%20luar.txt): `Seberapa aman Jaringan Mikrotik kita dari serangan luar.txt`

### Traffic and routing

- [Two-ISP failover](https://github.com/alsyundawy/mikrotik-script/blob/master/FailOver%202%20ISP%20dengan%20Recursive%20Gateway.txt): `FailOver 2 ISP dengan Recursive Gateway.txt`
- [Three-gateway failover](https://github.com/alsyundawy/mikrotik-script/blob/master/Routing%20Sederhana%20dengan%20FailOver%203%20Gateway.txt): `Routing Sederhana dengan FailOver 3 Gateway.txt`
- [PCC load balancing](https://github.com/alsyundawy/mikrotik-script/blob/master/Trik%20Load%20Balancing%20PCC%20untuk%20hotspot.txt): `Trik Load Balancing PCC untuk hotspot.txt`
- [Automated queue tree](https://github.com/alsyundawy/mikrotik-script/blob/master/Script%20Otomatis%20Custom%20Queue%20Tree%20dan%20Mangle%20Hotspot%20Mikroti.txt): `Script Otomatis Custom Queue Tree dan Mangle Hotspot Mikroti.txt`
- [Automated simple queues](https://github.com/alsyundawy/mikrotik-script/blob/master/Script%20Otomatis%20Custom%20Simple%20Queue%20Hotspot%20Mikrotik.txt): `Script Otomatis Custom Simple Queue Hotspot Mikrotik.txt`
- [Queue IP range scripts](https://github.com/alsyundawy/mikrotik-script/blob/master/Script%20Otomatis%20Untuk%20membuat%20Queue%20Tree%20IP%201-255.txt): `Script Otomatis Untuk membuat Queue Tree IP 1-255.txt`
- [Simple queue IP range](https://github.com/alsyundawy/mikrotik-script/blob/master/Script%20Otomatis%20Untuk%20membuat%20simple%20Queue%20IP%201-255.txt): `Script Otomatis Untuk membuat simple Queue IP 1-255.txt`
- [Queue rate updates](https://github.com/alsyundawy/mikrotik-script/blob/master/Auto%20Update%20MaxLimit%20Queue%20Tree%20Berdasarkan%20Avg%20Rate.txt): `Auto Update MaxLimit Queue Tree Berdasarkan Avg Rate.txt`
- [Queue bypass techniques](https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20bypass%20semua%20IP%20local%20agar%20tidak%20terlimit.txt): `Cara bypass semua IP local agar tidak terlimit.txt`
- [Multi-login bandwidth limits](https://github.com/alsyundawy/mikrotik-script/blob/master/Melimit%20Bandwidth%20Multi%20Login%20di%20Simple%20Queue.txt): `Melimit Bandwidth Multi Login di Simple Queue.txt`
- [Speedtest matching](https://github.com/alsyundawy/mikrotik-script/blob/master/Speedtest%20Mangle%20%20layer7%20Mikrotik.txt): `Speedtest Mangle layer7 Mikrotik.txt`

### Hotspot and accounts

- [Hotspot MAC bypass](https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20bypass%20user%20hotspot%20melalui%20macaddress.txt): `Cara bypass user hotspot melalui macaddress.txt`
- [Single hotspot login](https://github.com/alsyundawy/mikrotik-script/blob/master/Memastikan%20hanya%201%20ID%20hotspot%20yang%20boleh%20login.txt): `Memastikan hanya 1 ID hotspot yang boleh login.txt`
- [WMS Wi-Fi auto login](https://github.com/alsyundawy/mikrotik-script/blob/master/Auto%20Login%20WMS%20wifi.id%20di%20Mikrotik.txt): `Auto Login WMS wifi.id di Mikrotik.txt`
- [User Manager database tasks](https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20rebuild%20database%20di%20User%20Manager.txt): `Cara rebuild database di User Manager.txt`
- [User Manager reset](https://github.com/alsyundawy/mikrotik-script/blob/master/Reset%20database%20User%20Manager%20ke%20default.txt): `Reset database User Manager ke default.txt`
- [User Manager log clearing](https://github.com/alsyundawy/mikrotik-script/blob/master/Menghapus%20semua%20log%20di%20User%20Manager.txt): `Menghapus semua log di User Manager.txt`
- [User Manager password administration](https://github.com/alsyundawy/mikrotik-script/blob/master/Merubah%20Default%20Admin%20Password%20User%20Manager.txt): `Merubah Default Admin Password User Manager.txt`
- [User Manager storage path](https://github.com/alsyundawy/mikrotik-script/blob/master/Merubah%20path%20Database%20User%20Manager%20ke%20USB.txt): `Merubah path Database User Manager ke USB.txt`

### Device operations

- [Router backup script](https://github.com/alsyundawy/mikrotik-script/blob/master/2%20Cara%20Backup%20Mikrotik%20melalui%20Script.txt): `2 Cara Backup Mikrotik melalui Script.txt`
- [DNS cache flush](https://github.com/alsyundawy/mikrotik-script/blob/master/SCRIPT%20DNS%20CACHE%20FLUSH.txt): `SCRIPT DNS CACHE FLUSH.txt`
- [NTP configuration](https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20Setting%20NTP%20Network%20Time%20Protocol%20di%20Mikrotik.txt): `Cara Setting NTP Network Time Protocol di Mikrotik.txt`
- [IP Cloud remote access](https://github.com/alsyundawy/mikrotik-script/blob/master/Cara%20mengaktifkan%20IP%20CLOUD%20untuk%20remote%20diluar%20jaringan.txt): `Cara mengaktifkan IP CLOUD untuk remote diluar jaringan.txt`
- [Public IP email notification](https://github.com/alsyundawy/mikrotik-script/blob/master/Mengirim%20IP%20Public%20Jika%20Ada%20Perubahan%20IP%20ke%20Email.txt): `Mengirim IP Public Jika Ada Perubahan IP ke Email.txt`
- [Interface naming](https://github.com/alsyundawy/mikrotik-script/blob/master/Merubah%20Nama%20Interface%20ether%20Mikrotik%20Default.txt): `Merubah Nama Interface ether Mikrotik Default.txt`
