add filters and jails
This commit is contained in:
5
fail2ban/jail.d/authelia-auth.conf
Normal file
5
fail2ban/jail.d/authelia-auth.conf
Normal file
@ -0,0 +1,5 @@
|
||||
[authelia-auth]
|
||||
|
||||
enabled = false
|
||||
port = http,https,9091
|
||||
logpath = /remotelogs/authelia/authelia.log
|
5
fail2ban/jail.d/gitea-auth.conf
Normal file
5
fail2ban/jail.d/gitea-auth.conf
Normal file
@ -0,0 +1,5 @@
|
||||
[gitea-auth]
|
||||
|
||||
enabled = false
|
||||
port = http,https
|
||||
logpath = /remotelogs/gitea/gitea/log/gitea.log
|
24
fail2ban/jail.d/jail.local
Normal file
24
fail2ban/jail.d/jail.local
Normal file
@ -0,0 +1,24 @@
|
||||
[DEFAULT]
|
||||
ignoreip = 10.0.0.0/8, 192.168.0.0/16, 127.0.0.1, 172.0.0.0/8
|
||||
action = cloudflare
|
||||
|
||||
[authelia-auth]
|
||||
filter=authelia-auth
|
||||
enabled = yes
|
||||
findtime = 3600
|
||||
maxretry = 3
|
||||
bantime = -1
|
||||
|
||||
[nextcloud-auth]
|
||||
filter=nextcloud-auth
|
||||
enabled = yes
|
||||
findtime = 3600
|
||||
maxretry = 3
|
||||
bantime = -1
|
||||
|
||||
[gitea-auth]
|
||||
filter=gitea-auth
|
||||
#enabled = yes
|
||||
findtime = 3600
|
||||
maxretry = 3
|
||||
bantime = -1
|
5
fail2ban/jail.d/nextcloud-auth.conf
Normal file
5
fail2ban/jail.d/nextcloud-auth.conf
Normal file
@ -0,0 +1,5 @@
|
||||
[nextcloud-auth]
|
||||
|
||||
enabled = false
|
||||
port = http,https
|
||||
logpath = /remotelogs/nextcloud/data/nextcloud.log
|
Reference in New Issue
Block a user