inital fail2ban addition
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
[nextcloud_SITEname]
|
||||
enabled = true
|
||||
port = http,https
|
||||
protocol = tcp
|
||||
filter = nextcloud
|
||||
maxretry = 20
|
||||
bantime = 900
|
||||
findtime = 900
|
||||
logpath = /var/log/nextcloud/SITEname
|
||||
@@ -0,0 +1,5 @@
|
||||
[nginx-auth-SITEname]
|
||||
enabled = true
|
||||
filter = nginx-http-auth
|
||||
port = http,https
|
||||
logpath = /var/log/nginx/SITEname-error.log
|
||||
@@ -0,0 +1,5 @@
|
||||
[phpmyadmin]
|
||||
enabled = true
|
||||
port = http,https
|
||||
filter = phpmyadmin-authlog
|
||||
logpath = /var/log/PhpMyAdmin/PhpMyAdmin_auth.log
|
||||
@@ -0,0 +1,2 @@
|
||||
[sshd]
|
||||
enabled = true
|
||||
@@ -0,0 +1,11 @@
|
||||
[wordpress-hard]
|
||||
enabled = true
|
||||
filter = wordpress-hard
|
||||
logpath = /var/log/auth.log
|
||||
port = http,https
|
||||
|
||||
[wordpress-soft]
|
||||
enabled = true
|
||||
filter = wordpress-soft
|
||||
logpath = /var/log/auth.log
|
||||
port = http,https
|
||||
Reference in New Issue
Block a user