First commit to filter/jails Fail2ban

This commit is contained in:
Yuri-Lima
2025-09-01 13:09:39 +02:00
parent 16c737c816
commit c1ce709c41
11 changed files with 166 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
[DEFAULT]
banaction = iptables-multiport
# Push the rule into DOCKER-USER and cover your ports
action = iptables-multiport[name=nginx, port="80,443,3000", protocol=tcp, chain=DOCKER-USER]
ignoreip = 127.0.0.1/8 ::1 \
172.19.0.0/16 172.20.0.0/16 172.22.0.0/16 \
5.75.153.161 167.235.254.4