do_persistant_bans.sh aktualisiert

This commit is contained in:
2026-02-25 07:28:10 +00:00
parent 6dc47258f6
commit be638d5a87

View File

@@ -1,4 +1,6 @@
echo "Removing old sets"
# Chain anlegen falls sie nicht existiert
iptables -L permanent-bans -n >/dev/null 2>&1 || iptables -N permanent-bans
echo "Flushing sets..."
iptables -F permanent-bans
iptables -C INPUT -j permanent-bans 2>/dev/null || \
iptables -I INPUT 1 -j permanent-bans