Created Fail2Ban config for Nextcloud
This commit is contained in:
11
config/fail2ban/nextcloud.local
Normal file
11
config/fail2ban/nextcloud.local
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[nextcloud]
|
||||||
|
ignoreip = 192.168.1.0/24
|
||||||
|
backend = auto
|
||||||
|
enabled = true
|
||||||
|
port = 80,443
|
||||||
|
protocol = tcp
|
||||||
|
filter = nextcloud
|
||||||
|
maxretry = 3
|
||||||
|
bantime = 36000
|
||||||
|
findtime = 36000
|
||||||
|
logpath = /var/nextcloud/data/nextcloud.log
|
||||||
Reference in New Issue
Block a user