Updated Using Security Tools with Paperless ngx (markdown)

Andreas Brett 2023-07-03 14:39:47 +02:00
parent aad6fbdd24
commit eabf91ace4

@ -56,7 +56,7 @@ labels:
Create a new file named `paperless.conf` in the `/etc/fail2ban/filter.d/` directory.
Add the following contents to the file:
If you're using Paperless v1.14.0 to v1.16.5 add the following contents to the file:
```
[Definition]
@ -64,6 +64,14 @@ labels:
ignoreregex =
```
If you're using Paperless v1.16.6 or newer add the following contents to the file:
```
[Definition]
failregex = Login failed for user `.*` from (?:IP|private IP) `<HOST>`\.$
ignoreregex =
```
3. Restart fail2ban
Now that the jail and filter files have been created, you need to restart fail2ban for the changes to take effect.