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:
7
fail2ban/jail.d/00-defaults.local
Normal file
7
fail2ban/jail.d/00-defaults.local
Normal 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
|
||||
Reference in New Issue
Block a user