Merge branch 'current' into next

This commit is contained in:
Fabian Affolter 2017-06-30 19:13:55 +02:00
commit 4ba3e3e0c6
No known key found for this signature in database
GPG key ID: DDF3D6F44AAB1336
33 changed files with 344 additions and 150 deletions

View file

@ -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`