Skip to content

Complementing your firewall with IP blocking

License

Notifications You must be signed in to change notification settings

divestedcg/SCFW3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCFW3

Overview

This is a simple script to block known bad addresses. It is meant to be used on top of firewalld.

Use

  • Place scfw3.sh into /etc/cron.daily/1scfw
    • Copy ip-aggregator.py into /usr/local/bin/
      • This is mandatory
    • Configure the lists you want enabled at the top of it
  • Place trash.sh into /etc/cron.hourly/2trash
  • chmod +x both of them
  • Enjoy!

Known Issues

  • You must set FirewallBackend to iptables for firewalld or will have very long load times

Credits

Donate