We have the following situation in our environment:
We are using XenDesktop which is currently being tested in a deployment via F5 including the APM configuration. However, for several reasons we decided that we prefer the ‘normal’ StoreFront pages above the F5 APM serves to end users. This includes localization, maintenance, customization/branding and most of all the APM licenses.
2 virtual servers hosting both the broker service and StoreFront
XenDesktop 7.6
StoreFront 3.0
BigIP 11.5.3
iApp
So basically we want to configure the setup so we can take advantage of the ICA proxy but not use the APM module for authentication. Is that possible?
If I configure the iApp so we ‘do not proxy ICA traffic and APM authentication’ I have a new option at the bottom of the iApp where I can select the ‘BigIP system to act as a gateway for ICA traffic’. If configured with these options I do receive the correct StoreFront login page but logging in fails. Citrix logs the following event: “A request was sent to service ‘’ that was detected as passing through a gateway. However no gateways are configured for this service.” So when I configure the XML virtual server as the delivery controller (set in the iApp) it presents the page with the error “Cannot Complete Your Request” without any further details. The logging is empty.
I hope anyone can help me out here because using the iApp including APM is not really our preferred method.
ICA proxy requires APM with AD authentication or certificate based authentication (smartcard).
The option you mention, ‘BigIP system to act as a gateway for ICA traffic’, requires your application servers use client accessible addresses. Works fine for private internal routable addresses, not so great for public clients as you most likely would not want to use public addresses on your application servers but would rather mask the application servers using a proxy (requires ica proxy / APM).
I have faced the same issue after upgrading iApp from 2.3.0 to 2.4.0. On our StoreFront servers we have the same errors “A request was sent to service ‘’ that was detected as passing through a gateway. However no gateways are configured for this service.” After some research I have found that newer template contains additional HTTP header X-Citrix-Via that BIG-IP was sending to StoreFront servers with each client request with FQDN of the configured Virtual Server.
To my opinion this header must be used for NetScaler and XenApp integration only, not for F5’s. Because after you insert this header to StoreFront requests they are trying to find appropriate gateway settings inside XenApp configuration. And of course this configuration could contain Citrix devices only
Cut from iApp template that need to be commented out:
Hi Validimir, thank you for your research and sharing it. Although we did give up in the end and use the full APM functionality for Citrix XenApp access, I was wondering if you are actually doing what we were trying to accomplish. With the modified iApp you can use the native Storefront interface while proxying the ICA traffic through APM?
This helped me out. I was able to update the http profile that the iapp created to remove Request Header Insert and Response Headers Allowed which inserted headers meant for a Netscaler which we don’t use. Finally got Xendesktop working through the F5.