#!/bin/sh # # darklist.de - blacklisted ips (iptables script) # generated on 11.12.2024 08:10 # # 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