From 7cc5c4e2e8d9a2e0cae399d55d82ce3958abbe73 Mon Sep 17 00:00:00 2001 From: pgrondek Date: Thu, 29 Apr 2021 17:03:40 +0200 Subject: [PATCH] Add support for proxy and fail2ban --- automations/files/configuration.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/automations/files/configuration.yaml b/automations/files/configuration.yaml index a2c70b6..e0ec826 100644 --- a/automations/files/configuration.yaml +++ b/automations/files/configuration.yaml @@ -347,6 +347,16 @@ binary_sensor: platform: ping host: 192.168.60.14 +http: + use_x_forwarded_for: true + trusted_proxies: + - 192.168.50.100 + - 192.168.50.101 + - 192.168.50.102 + - 192.168.50.103 + ip_ban_enabled: true + login_attempts_threshold: 5 + switch: # Living Room - platform: template