DEV Community

Cover image for I built an AI powered RouterOS config generator for MikroTik network engineers
ZILL E ALI BUTT
ZILL E ALI BUTT

Posted on • Originally published at zilleali.com

I built an AI powered RouterOS config generator for MikroTik network engineers

As a Junior Network Engineer managing FTTH infrastructure across dozens of sites, I spend a lot of time writing and reviewing MikroTik RouterOS configs. Same categories of tasks come up constantly: PPPoE server setup, VLAN configuration, firewall hardening, RADIUS integration, WireGuard tunnels.
I built MikroTik Config Generator to turn plain language requirements into deployable RouterOS v7 scripts.

How it works:

The frontend takes a plain language description of what you need. A Supabase edge function connected to Lovable AI Gateway processes the request through a system prompt that enforces RouterOS v7 syntax, applies security defaults (restricted management access, disabled unused services, dropped invalid connections), and asks for missing critical details like a WAN interface or LAN subnet instead of guessing.
Generated configs and summaries return as structured JSON so the frontend renders the script and explanation separately.
It also supports a review mode where you paste an existing config export and get back flagged issues with corrected commands.
Stack: Lovable, Supabase (Auth, edge functions, Postgres with row-level security for per-user config history), Lovable AI Gateway.

Try it: https://zille-skill-mikrotik.lovable.app/

Open to feedback from anyone working with RouterOS in production, especially around edge cases in firewall or NAT logic.

Top comments (0)