Merge branch 'current' into next
This commit is contained in:
commit
4ba3e3e0c6
33 changed files with 344 additions and 150 deletions
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: "fail2ban for HASS"
|
||||
description: "Setting up fail2ban to read HASS log files to improve security."
|
||||
title: "fail2ban"
|
||||
description: "Setting up fail2ban to read Home Assistant's log files to improve security."
|
||||
date: 2017-05-24 10:05
|
||||
sidebar: true
|
||||
comments: false
|
||||
|
|
@ -14,6 +14,15 @@ This is a quick guide on how to setup fail2ban for Home Assistant. This was orig
|
|||
|
||||
First install `fail2ban`. On Debian/Ubuntu this would be `apt-get install fail2ban`. On other distros you can google it.
|
||||
|
||||
Then make sure logging is enabled in your `configuration.yaml` file for your Home Assistant instance:
|
||||
|
||||
```yaml
|
||||
logger:
|
||||
default: critical
|
||||
logs:
|
||||
homeassistant.components.http: warning
|
||||
```
|
||||
|
||||
Next we will be creating these three files :
|
||||
|
||||
- `/etc/fail2ban/fail2ban.local`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue