Skip to main content
KalkuNet

MikroTik Address-List Generator — Convert IP/CIDR Lists to .rsc Scripts

Transform raw IP/CIDR lists cleanly into RouterOS /ip firewall address-list scripts.

Runs in your browserDeveloper · DevOps, Firewall & Router CLI Builders
/ip firewall address-list
add list=allowed_nets address=192.168.10.0/24
add list=allowed_nets address=10.20.0.0/16
add list=allowed_nets address=172.16.40.0/24

When to use the IP/CIDR List to MikroTik address-list.rsc Converter

  • Import-ready /ip firewall address-list syntax

    Paste dozens or hundreds of IPv4 addresses or CIDR blocks (such as 192.168.10.0/24 or 8.8.8.8), set the list name, comment and optional timeout, and export a ready-to-import .rsc script.

  • Built for policy routing, mangle rules and firewall blocks

    Address lists drive RouterOS filter, NAT and mangle rules for policy routing, traffic splitting, brute-force blocks or hotspot bypasses without hand-typing every entry.

  • Compatible with both RouterOS v6 and v7

    The /ip firewall address-list add syntax works identically across MikroTik RouterOS v6 and v7, including optional dynamic timeouts like 1d or 12h.

  • Runs locally so private IP lists stay off external servers

    Your internal subnets, OLT management ranges and blocklists are converted directly in browser memory and never uploaded anywhere.

Frequently asked questions

How do I import the generated .rsc file into MikroTik?

Upload the .rsc file into WinBox Files, open New Terminal, and run /import file-name=yourfile.rsc, or paste the generated commands directly into Terminal.

Can one address-list mix single IPs, CIDR blocks and IP ranges?

Yes. RouterOS accepts single IPs (8.8.8.8), CIDR blocks (192.168.10.0/24) and dash ranges (192.168.10.10-192.168.10.50) under the same list name.

Should I deduplicate overlapping CIDRs before building the list?

Deduplicating or aggregating adjacent subnets first via IP Range to CIDR or VLSM keeps router RAM usage low and avoids duplicate-entry errors on import.

Learn more