Skip to content

Python scripts that automatically updates IP blacklists of synology nas

License

Notifications You must be signed in to change notification settings

hasunwoo/synology-ip-blacklist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Synology IP Blacklist

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.

Setup Instructions

  1. Get your own AbuseIPDB API key.
  2. Put yout AbuseIPBD API key in line 7.
  3. 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.
  4. Create task schedular Job to run it periodically.

Example Task Scheduler Job Configuration

General Settings

Task: Update IP Blacklist

User: root

Schedule

Date: Repeat Daily

Time: Continue running within the same dat

Repeat: Every 12 hours

Schedule

Run command: sudo python /volume1/system/ip_blacklist_update.py

About

Python scripts that automatically updates IP blacklists of synology nas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages