Update .gitignore to exclude fail2ban data directory, clean up docker-compose.yaml by removing unused volume mappings, and add new Fail2Ban filter configurations for enhanced security against various attack vectors.

This commit is contained in:
2025-08-18 11:16:56 +02:00
parent 34a8fbabc4
commit 3a8592a0f4
12 changed files with 168 additions and 3 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