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