Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 687 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 687 Bytes

Mikrotik IPBlacklist

Script for autoupdate ip address blacklist.

  • Run this code in terminal to create firewall rules

/ip firewall filter
add action=drop chain=input comment="Drop IP from Blacklist" in-interface=WAN \ log=yes log-prefix="Drop IP from Blacklist" src-address-list=\ "IP Blacklist"

  • Run this code in terminal to create autoupdate script.

/system script
add dont-require-permissions=no name=DownloadIpBlacklist \ policy=read,write \ source="/tool fetch address=raw.githubusercontent.com host=raw.githubuserc\ ontent.com mode=https src-path=/devMikeUA/MikrotikIpBlacklist/master/scrip\ t/IP_Blacklist.rsc"