Displaying the Forefront UAG server and incoming IP address
Updated: July 31, 2012
Applies To: Unified Access Gateway
In Forefront Unified Access Gateway (UAG) Service Pack 1, an additional page named server.asp was added to the InternalSite, which, when used, shows the current Forefront UAG server and the IP address of the incoming connection to the end user. This can be useful when you are required to troubleshoot connection problems, particularly if you have deployed an array of Forefront UAG servers. In this type of deployment, the page shows the Forefront UAG server from the array to which the end user is connecting and the IP address of the incoming client connection.
To display the Forefront UAG server and incoming IP address to the end user
On the Forefront UAG server, open the ...\Microsoft Forefront Unified Access Gateway\von\InternalSite\samples folder and copy the file server.inc to the ...\Microsoft Forefront Unified Access Gateway\von\InternalSite\inc\CustomUpdate folder.
Rename the file <Trunk_Name><Secure(0=no/1=yes)>server.inc as described in About the CustomUpdate mechanism. For example, if your trunk is an HTTPS trunk named UAGPortal, name the file UAGPortal1server.inc.
Customize the renamed server.inc file as required.
If you have an array of Forefront UAG servers, copy the customized server.inc file to the \InternalSite\inc\CustomUpdate folder on each of the servers.
The web page is available without authentication at the following address http(s)://www.contoso.com/InternalSite/server.asp.