Forum Discussion

Teddy_Brewski's avatar
Teddy_Brewski
Icon for Altostratus rankAltostratus
May 22, 2025

VMware Horizon app and X-Forwarded-For

Hello,

Anyone being able to successfully inject X-Forwarded-For headers with VMware Horizon app?

We are using the latest VMware Horizon app (1.5.9) to load balance PCoIP connections to a pair of Security Servers (now called UAGs) running v25.03. 

The option to insert X-Forwarded-For headers is selected, but we don't get any X-Forwarded-For data in UAG logs.

I found the following article (https://vmvirtual.blog/2024/12/11/omnissa-unified-access-gateway-and-headerstobelogged/) but we're running 25.03 and HeadersToBeLogged seems to be already enabled.

Any tips would be greatly appreciated.

1 Reply

  • As a first step I would say log the request leaving F5 to check if XFF Header is injected or not
    you can use this

    when HTTP_REQUEST_RELEASE 
    {
        foreach aHeader [HTTP::header names] 
        {
            log local0. "HTTP Request Headers: $aHeader: [HTTP::header value $aHeader]"
        }
    }