Only addresses rated at full confidence within the last 30 days.
Blocklists for MikroTik RouterOS
MikroTik routers can drop traffic from IP address lists maintained in the firewall.
Adding a blocklist to MikroTik RouterOS
Address list per script
Fetch the list and import it into an address list called blocklist:
/tool fetch url="https://raw.githubusercontent.com/borestad/blocklist-abuseipdb/main/abuseipdb-s100-30d.ipv4" dst-path=blocklist.rsc
/import blocklist.rsc If the list is a plain text file with one address or CIDR per line, convert it first:
/tool fetch url="https://raw.githubusercontent.com/borestad/blocklist-abuseipdb/main/abuseipdb-s100-30d.ipv4" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
/ip firewall address-list add list=blocklist address=$line comment="AbuseIPDB (100% confidence, 30 days)"
} Use the list in the firewall
/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="AbuseIPDB (100% confidence, 30 days)"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="AbuseIPDB (100% confidence, 30 days)" Schedule the fetch with /system scheduler to keep the list current. Very large lists consume RAM, so check the available memory of your device first.
The address shown above is an example. Every list in the directory has its own URL, which you can copy with one click.
Recommended lists for MikroTik RouterOS
By topic
All 5 lists for MikroTik RouterOS
Cloudflare IPv4 ranges, meant as an allowlist.
Cloudflare IPv6 ranges, meant as an allowlist.
Filter list covering allowlist. Format: Socks5. See the project homepage for details and inclusion criteria.
Shub’s Whitelist
Filter list covering allowlist. Format: IPs (IPv4). Maintained by DevShubam. See the project homepage for details and inclusion criteria.
Syncthing Relay Server IPs
Filter list covering allowlist. Format: IPs (IPv4). Maintained by Wu Tingfeng. See the project homepage for details and inclusion criteria.
