#!/bin/sh # # darklist.de - blacklisted ips (iptables script) # generated on 10.10.2024 00:38 # # Execute the following commands once to prepare the blacklist: # iptables -N BLACKLIST # iptables -I INPUT -j BLACKLIST # iptables -I FORWARD -j BLACKLIST # # Then run the script. # # flush the chain first iptables -F BLACKLIST # networks # single hosts # return to basic chain iptables -A BLACKLIST -j RETURN