RouterOS Country IP Lists

This repository automatically fetches and updates IP address ranges registered to different countries from RIRs delegated databases on a daily basis. The data is processed and made available in both CIDR format and RouterOS script format.

How to Use

RouterOS scripts are ready to be imported into your MikroTik router. They create address lists that can be used for firewall rules, routing decisions, etc.

Example of importing a country list:

/tool fetch url="https://plitw.github.io/ros-country-ips/routeros_lists/tw_ipv4.rsc"
/import file-name=tw_ipv4.rsc
    

All Country Lists

Loading country data...
Country IPv4 Lists IPv6 Lists