MikroTik IPTV Script Generator

Generate clean, ready-to-paste RouterOS configs for IPTV and multi-WAN networks — built for engineers, ISPs, integrators, and home labs.

100% Free · No credits · No paywall
🎁
Free Tool · 5 guest uses left today
No credits required. Sign up for unlimited script generation.
Sign Up →
⚠️ Safety: Always backup your MikroTik configuration before applying scripts. /system backup save name=before-load-balance — Interface names must match your router exactly.
1

Script type

2

WAN setup

Minimum 2 WAN interfaces for load balancing.

3

LAN setup

Where LAN clients connect
4

IPTV options

5

Advanced options

6

RouterOS version

Syntax is adjusted for IGMP and bridge features where versions differ.
🧮 Captcha
Math CAPTCHA
🔒 Solve the math problem

Built like a RouterOS engineer would write it

Skip the syntax hunting and copy-paste errors. Pick a template, fill in your interfaces, and get a clean, commented script you can review before it touches a router.

IGMP proxy templates

Multicast, snooping, and firewall rules for IPTV set-top boxes out of the box.

VLAN automation

Tag IPTV traffic onto its own VLAN with the right bridge and DHCP wiring.

Multi-WAN support

PCC, NTH, ECMP, and failover — with IPTV kept off the balanced path.

RouterOS compatibility

Targets common v6 and v7 syntax, with a version selector before you generate.

Browser-based generation

Nothing is sent to your router — review every line, then paste it yourself.

Fast deployment

Copy to Terminal or download a .rsc file to import in Winbox/WebFig.

How to generate a MikroTik RouterOS script

  1. Pick a script type: Choose IPTV multicast, PCC, NTH, ECMP, failover, or a combined IPTV + load-balance template.
  2. Enter your interfaces: Fill in WAN/LAN bridge names, subnets, VLAN IDs, and IPTV options to match your router.
  3. Preview the script: Review the full RouterOS commands, step-by-step notes, and safety warnings before applying anything.
  4. Apply safely: Back up first, then paste into Terminal or import the .rsc — ideally in a lab or maintenance window.

Features

  • IGMP proxy, snooping and firewall templates
  • IPTV VLAN tagging helpers
  • PCC, NTH, ECMP and failover multi-WAN
  • RouterOS v6 / v7 syntax selector
  • Copy to Terminal or download .rsc
  • Browser-based — no router login required

Use cases

IPTV ISPs

Roll out multicast IPTV with IGMP proxy on CPE and core MikroTik routers.

Resellers

Hand technicians a consistent, ready-to-paste config for every customer install.

Home labs

Test IGMP proxy or PCC balancing safely before any production cutover.

Multi-WAN networks

Balance two or more links with PCC, NTH, or ECMP and keep IPTV off the balanced path.

Enterprise routers

Generate combined IPTV + load-balance scripts with sane firewall defaults.

System integrators

Standardize RouterOS configs across many sites instead of editing by hand.

Frequently asked questions

Is MikroTik Script Generator free to use?

Core use is free or included in your account tier. Some advanced actions may use credits — see the badge on the tool card for current pricing.

Do I need to install software?

No. MikroTik Script Generator runs in your web browser on desktop, tablet, and mobile.

Is my playlist data safe?

Many tools process locally in the browser; server-assisted tools handle files securely and do not sell your URLs or credentials.

What file formats are supported?

Standard M3U and M3U8 playlists are supported, including common IPTV attributes like group-title, tvg-logo, and tvg-id.

Will output work with TiviMate, IPTV Smarters, or Kodi?

Yes. Exported playlists follow common M3U conventions compatible with major IPTV players.

Can I use this on my phone?

Yes. The tool interface is mobile-responsive so you can upload and download from Android or iOS browsers.

Will these scripts work on any RouterOS version?

They target common RouterOS v6 and v7 syntax, and you pick the version before generating. Hardware and firmware differ, so always test on your router in a lab or maintenance window before production.

What is the difference between PCC, NTH and ECMP?

PCC (Per-Connection Classifier) keeps each connection on one WAN — the most reliable for general multi-WAN. NTH splits new connections round-robin. ECMP load-balances equal-cost routes at the routing level. The generator writes the firewall mangle and routing rules for whichever you choose.

Do I still need my ISP to support IPTV multicast?

Yes. The script configures your MikroTik to proxy and forward multicast, but your upstream must actually deliver the IPTV multicast stream (or hand it off on the right VLAN). The generator can't create traffic your provider doesn't send.

Is it safe to paste a generated script onto a live router?

Treat it like any config change: back up first (the script can include backup commands), review every line in the preview, confirm interface names match exactly, and apply during a maintenance window. Remote sessions can drop if firewall or routing changes are wrong.

Are my settings stored anywhere?

No. The script is built in your browser from the values you enter — nothing is sent to your router or saved on our side.