Python scripts that automatically updates IP blacklists of synology nas from blocklist.de and abuseipdb.com.
This script will help you to prevent brute force attacks from bad IPs.
- Get your own AbuseIPDB API key.
- Put yout AbuseIPBD API key in line 7.
- Save updated ip_blacklist_update.py in your synology nas. It is recommended to save it to shared folder which won't be removed after update.
- Create task schedular Job to run it periodically.
Task: Update IP Blacklist
User: root
Date: Repeat Daily
Time: Continue running within the same dat
Repeat: Every 12 hours
Run command: sudo python /volume1/system/ip_blacklist_update.py