Hosts file for hostname blocking
Blacklist for IPs
Script for blocking entire countries
Place this in Scheduled Tasks and have it run daily/weekly/etc:
wget -O - https://raw.githubusercontent.com/yllekz/DankHostsFile/master/ipsum-RPi.sh | sudo bash