/mikroblack

mikrotik blacklist

Primary LanguageRouterOS Script

Mikrotik Blacklist

Blacklists

blacklist.rsc
blacklist.lightweight.rsc

How to run this on MT

Run following to your MT device with not less that 7d schedule (sources are not updated more frequently anyway):

Download script:
/tool fetch url="https://raw.githubusercontent.com/darzanebor/mikroblack/master/blacklist/blacklist.rsc" mode=https

Install script:
/ip firewall address-list remove [find where list="hole-blacklist"]; /import file-name=blacklist.rsc

You'll also need firewall rule:
/ip firewall filter add chain=input action=drop connection-state=new src-address-list=hole-blacklist in-interface=IFNAME

Note: Replace IFNAME in-interface name with one you have configured

Blacklist Rotation Period 1d