Feedback
see: https://www.home-assistant.io/integrations/http/#use_x_forwarded_for
trusted_proxies can be a list of addresses or ranges. If using SWAG, the container's IP can be grabbed using docker inspect
configuration.yaml
http:
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
- 172.16.0.0/12
- 192.168.0.0/16
URL
https://www.home-assistant.io/integrations/fail2ban/
Version
2025.7.2
Additional information
No response
Feedback
see: https://www.home-assistant.io/integrations/http/#use_x_forwarded_for
trusted_proxies can be a list of addresses or ranges. If using SWAG, the container's IP can be grabbed using
docker inspectconfiguration.yaml
http:use_x_forwarded_for: truetrusted_proxies:- 127.0.0.1- 172.16.0.0/12- 192.168.0.0/16URL
https://www.home-assistant.io/integrations/fail2ban/
Version
2025.7.2
Additional information
No response