Proxy protocol support

Hi,

I have homeassistant running on kubernetes and in front i have istio ingress with TLS passthrough, this causes an issue that the source ips of the clients connecting to homeassistant get lost, the source ip that shows in homeassistant is from the istio ingress gateway.

I know that if don’t set tls passtrough and configure tls termination on the istio gateway then it would use the x-forwarded-for and homeassistant would see the real ip of the clients, but this is not an option for my services, i have tls configured on end services, so on the ingress gateway i do tls passtrough, and with this the only way would be having proxy protocol support on homeassistant.

Is there any plan to implement proxy protocol on homeassistant?

Thank you.

Home-assistant is a standard http application, it is not a good idea to support proxy protocol. You can deploy an nginx in front of ha, nginx turns on the proxy protocol and passes the real IP to ha through the xff header.

it’s a solution, though its another component in the infrastructure.
Would be really good to have proxy protocol support natively on homeassistant.