Skip to content

use_x_forwarded_for also requires the trusted_proxies setting #40027

@fuentes81081

Description

@fuentes81081

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy