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