do_persistant_bans.sh aktualisiert
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user