We are in the middle of a data center migration from DataCenter A to DataCenter B. We are migrating Citrix servers.
A subnet 192.168.1.0/24
B subnet 192.168.2.0/24
Citrix server farm consists of
To connect to Citrix users navigate to citrix.domain.com, which hits a public IP that NATs to Citrix-Gateway1 (in Datacenter A).
Users can click on App 1, that is a published desktop on host1 and 2. Or they can click App 2, which is a published desktop on host 3 and 4.
We have migrated Citrix-Gateway2, Citrix-SessionHost3, and Citrix-SessionHost4 to DataCenter B.
We have configured citrix2.domain.com to point to public IP in DataCenter B, which NAT's to Citrix-Gateway2.
Datacenter A and Datacenter B have a Site to Site VPN configured, and all devices on subnet A are accessible from subnet B, and vice versa.
When we are on local subnet and connect to citrix2.domain.com, we can log in to the gateway server (which is on subnet B) and see the apps. When we click App2, it launches a published desktop from host 3 or 4. This is working when we are on local subnets (either of the two). However, when we externally access citrix2.domain.com we still hit the gateway server in DataCenter B, but when we click to open an app we get the error message "Unable to launch your application. Cannot connect to the Citrix XenApp server. There is no Citrix XenApp server configured on the specified address."
So, we are hitting the gateway server on subnet B, who is accessing app published on host 3 and 4 which are on subnet B, but the main citrix farm server holding the sql database resides on subnet A. Internally, this works, externally, we get the error. I believe I need to make a change on the gateway server in the Citrix Web Interface Mangement console -> XenApp Web Sites -> Secure Access, but I do not know what to configure. Currently, the setting is "Direct".
Please assist in what needs to be configured so we can externally access Citrix-Gateway2, and launch an app. Thank you.