pwlgrzs.Mikrotik-Blacklist/README.md
2025-02-10 17:41:54 +01:00

49 lines
2 KiB
Markdown

# Mikrotik-Blacklist
This is a blocklist I use with on my Mikrotik router to block all connections from known spam/criminal/etc. networks.
Every couple days I pull lists from:
- Spamhaus (DROP & EDROP)
- dShield
- blacklist.de (all.txt)
- Feodo
- FireHOL
and reformat it to allow automatic import to MT routers. This is automated process so if you see errors in the final list open an issue please.
# READ THIS BEFORE GOING ANY FORWARD!
As of April 2023 blocklist has almost 5MB, installing this on a device with low disk space, such as HeX PoE, may (and almost certainly will) cause issues such as inability to save other settings if disk is full.
If you have a device with 16MB disk space I suggest you use a light version of the list, it's also being updated but without heavy sources.
## 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):
1. Download install.rsc or install-light.rsc file and upload it to your device
2. In the Mikrotik terminal run: `/import install.rsc` or `/import install-light.rsc`
3. Enjoy!
You'll also need firewall rule:
`/ip firewall raw add chain=prerouting action=drop in-interface-list=WAN log=no log-prefix="" src-address-list=pwlgrzs-blacklist`
*Note: Replace WAN in in-interface-list with one you have configured*
I sometimes add updates and notes about the list [here](https://pawelgrzes.pl/posts/Mikrotik-Blocking-unwanted-connections-with-external-IP-list/).
## Changelog:
- 25.01.2023
- rewritten blacklist script due to potential issue with filesize.
- 17.09.2023
- added danger.rulez.sk bruteforceblocker as source
- added Tor exit nodes list
- 17.09.2023
- pfSense sources removed due to permanent 404
- added FireHOL abusers source for standard list
- 15.04.2023
- Added light version of the list (without heavy pfSense sources) for small disk devices
- Added light version installer
- Installers now remove themselves
- 12.04.2023
- added pfSense sources (abuse, badguys, block)
### TODO
- Add more sources.