Iran IPv4 RSC
Creates the IRv4 RouterOS address-list.
A practical guide for importing Iranian IPv4 and IPv6 prefixes into MikroTik RouterOS, using the generated RSC files and keeping the address-lists updated.
Download the generated RouterOS files directly.
Creates the IRv4 RouterOS address-list.
Creates the IRv6 RouterOS address-list.
The simplest method is to download the generated RSC file and import it into RouterOS.
Download the required IPv4 or IPv6 RSC file from the links above.
Upload the RSC file to the MikroTik router using WinBox, WebFig or another supported file-transfer method.
From the RouterOS terminal, run the appropriate import command.
For IPv6:
After importing the file, verify that RouterOS contains the generated Iranian prefixes.
The published update scripts can be used as the starting point for automated RouterOS updates.
Update the IRv4 address-list using the published IPv4 update script.
Download IPv4 UpdateUpdate the IRv6 address-list using the published IPv6 update script.
Download IPv6 UpdateCombined update script for both address-lists.
Download Combined UpdateScript intended for scheduled daily refreshes.
Download Daily UpdateOnce the list has been imported, the IRv4 address-list can be referenced by RouterOS firewall rules.
This is only an example. Firewall rule order and policy should be adapted to the actual network design.
IPv6 policies can reference the IRv6 address-list.
Review your IPv6 firewall policy and rule order before deploying any rule in production.
Multiple firewall or policy rules can reference the same logical address-list instead of repeating individual prefixes.
Updating the address-list allows policies to continue using the same list name while the underlying prefixes change.
The published RSC and update files can be integrated into RouterOS automation workflows.
Main MikroTik resource page with all available RSC and update files.
Open MikroTikCurrent Iranian IPv4 prefixes in plain-text, MikroTik and Cisco formats.
Open IPv4Current Iranian IPv6 prefixes and RouterOS resources.
Open IPv6Iran IP List is generated from RIPE NCC membership allocation information.
The underlying RIPE NCC source data remains subject to the applicable RIPE NCC terms and conditions.