Skip to content

sohag1192/MikroTik-Script-Generator

Repository files navigation

⚙️ MikroTik Script Generators

A Suite of Web-Based Tools for Rapid RouterOS Configuration

Deploy Status Live Demo License: MIT Badge

A lightweight, front-end collection of HTML/JS tools designed to help Network Engineers and ISPs dynamically generate error-free MikroTik RouterOS scripts.


## 📋 Table of Contents - [✨ About the Project](#-about-the-project) - [🛠️ Available Generators](#️-available-generators) - [🚀 Live Demo](#-live-demo) - [💻 Tech Stack](#-tech-stack) - [📂 How to Use](#-how-to-use) - [👨‍💻 Author](#-author)

✨ About the Project

Configuring MikroTik routers manually can be repetitive and prone to typos, especially in complex ISP environments. This repository provides a centralized hub of web-based forms. Simply input your IP addresses, interfaces, and specific parameters, and the tools will instantly output the exact terminal commands needed for your RouterOS environment.

🛠️ Available Generators

This repository includes dedicated generators for the most common network administrative tasks:

  • 🏢 ISP Config Generator (isp_generator.html) - Quick setups for core ISP routing and interfaces.
  • 🌐 VLAN Generator (vlan_generator.html) - Rapid deployment of 802.1Q Virtual LANs.
  • 🔁 NAT Generator (nat_generator.html) - Network Address Translation (Masquerade/SrcNAT/DstNAT) rules.
  • 🛡️ Mangle Generator (mangle_generator.html) - Packet marking for bandwidth management and routing.
  • 🚪 Port Forward Generator (port_forward.html) - Easily map external ports to internal servers.
  • 🚇 EoIP Generator (eoip_generator.html) - Ethernet over IP tunnel configurations.
  • 🚫 Raw Filter Generator (raw_filter.html) - Prerouting firewall drop/accept rules for security.
  • 📖 DNS Generator (dns_generator.html) - Cache and server configurations.

🚀 Live Demo

You do not need to download anything to use these tools. They are hosted live via GitHub Pages.

👉 Access the MikroTik Script Generators Here


💻 Tech Stack

  • Frontend: HTML5, CSS3, Vanilla JavaScript (No heavy frameworks, instant load times)
  • Target OS: MikroTik RouterOS (v6 & v7)
  • Deployment: GitHub Pages
  • Automation: Custom Batch Scripting (upload.bat included for rapid dev pushes)

📂 How to Use

Local Execution

  1. Clone the repository:
    git clone https://github.com/sohag1192/MikroTik-Script-Generators.git
  2. Open index.html (or any specific generator file) directly in your web browser.
  3. Fill out the web form and click the generate button to get your custom script.
  4. Copy and paste the output directly into your MikroTik Terminal.

👨‍💻 Author

Md. Sohag Rana Network Engineer & Full-Stack Developer

GitHub Telegram
Built to streamline network administration and ISP operations.