| Configuring View Security Server |
|
|
|
| Written by Tom Hirt | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Thursday, 26 February 2009 16:07 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
VMware's View Manager Security server is a component of the View architecture which provides secure access to VMware View sessions over an unsecured WAN and/or Internet. Use of the Security server allows protection to the connection broker from the public Internet while also creating a secure mechanism for remote users to access the View environment. For deployments where two-factor authentication is desired, the Security Servers can also be configured with RSA SecurID integration. The Security server basically acts like a proxy to securely connect outside hosts to the trusted inside network. In a typical deployment, the Security server(s) is placed in the DMZ. Although not required, it is best practice to deploy two Security servers, a Standard Security server and a Replica Security server, for a fault tolerant configuration. When using a fault tolerant configuration, a 3rd party load balancer must also be deployed to manage connection state and fail-over between the Standard and Replica servers. The following diagram illustrates the components for deployment:
As a prerequisite for deployment, one or more View Manager Connection servers must be present and configured with their associated dependencies satisfied (Active Directory, Virtual Center and an ESX host/cluster deployed). Please see our knowledge base for further details on the configuration of these dependencies. Because the Security servers only offer a small subset of the features offered by the View Connection server, there is no need for the Security server to have or be a part of the Active Directory domain. Further more, these servers do not contain LDAP schemas or other repositories for Active Directory or RSA Authentication Manager (if deployed with two-factor authentication) enforcing a strong security posture that is protected from possible compromise. Firewall ConfigurationIn order for communications between the remote clients, Security server(s), View Connection server(s) and desktop pools, the following ports and protocols must be allowed through your front and back-end firewalls:
The following diagram illustrates these communications further:
Security Server Installation
We are now ready to install our first Security server. The following steps will walk you through the initial install: 1. Locate and run the VMware-viewconnectionserver-*.exe:
2. A installation wizard will appear. Click Next:
3. Read and then accept the license terms and click Next:
4. Select a destination folder for the install and click Next:
5. On the Installation Options screen, select Security Server and then click Next:
6. Each Security server is paired with a View Connection Server to which it forwards all its inbound traffic. On the Paired View Connection Server screen, enter the FQDN (fully qualified domain name) or IP address of your Standard or Replica View Connection Server.
7. Confirm your install and then click Next:
8. Once the installer has completed, click Finish:
If you plan to deploy a replica sever, you will need to repeat steps 1-8 on the replica server. Connection Server Configuration
When external clients connect to View via the Security server, they must be able to resolve the FQDN of the Connection server. This can present a problem because the FQDN of our Connection server is different on our inside network than what is advertised on the Internet. For example, in our configuration thus far, our DMZ Security server has a FQDN of vdi-security-01.tcpdump.com and our internal Connection server has a FQDN of vdm-01.tcpdump.com. However, in our external DNS, we advertise view.tcpdump.com with a NAT from the external IP address of view.tcpdump.com to vdi-security-01.tcpdump.com. Additionally, we have no NAT in place for our Connection server as we want the Security server to act as a proxy for all external users.
We overcome this obstacle by configuring the Connection server with an external FQDN that matches the external FQDN of our Security server (https://view.tcpdump.com). Using your web-browser, access your View Administrator Console (this is the IP address or hostname of your Connection server followed by '/admin'. For example: http://vdm-01.tcpdump.com/admin. You may also access the administration console via the following URL from the console of your View Connection server: http://localhost/admin Log in with a domain user that has administrative privileges to the View Connection server. By default, the domain administrator account will have the necessary privileges (unless previously configured otherwise). After you have logged-in, click the "Configuration" icon from the navigation panel:
In the View Servers window, highlight your Connection server and click "Edit". This will provide a configuration window that will allow you to enter the external FQDN of your Security server. * Note: You must provide the full URL and protocol in the External URL field. i.e. https://view.tcpdump.com:443
Click Ok to save your changes. We must now restart the View Connection service for the changes to take affect.
Security Server ConfigurationNow that we have deployed the Security server and configured the Connection server, we need to establish communications between the Security server located in the DMZ and the Connection server located within our internal network. We first begin by creating a locked.properties file. The locked.properties file provides inbound connection details so that the Security server can communicate with the Connection server. We will use the View Administrator interface to generate the locked.properties file. (If you are not on the Configuration screen from the View Administrator Console, use your web brower and navigate there now.) From the "Configuration" screen, locate the Security Servers section. Click the "Add" link to add a Security server. In the Add Security Server window, enter the FQDN of the Security server as the "Server name" and the external FQDN of the Security server as the "External URL":
Highlight the name of your Security Sever and then click the "Create Configuration File" link:
Your web browser will prompt you to save the file. Save the file as locked.properties (with no extension.) Ensure the Save as type is set to "All Files". If the save as type is not set to All Files, Windows will attempt to append a .txt to the filename and you will have to rename the file after you have saved it.
Copy the locked.properties file to the following location on the Security server: C:\Program Files\VMware\VMware View\Server\sslgateway\conf
* Note: Your actual path may vary if you changed the default installation folder when installing the Security server. Once the locked.properties file has been copied to the Security server, restart the View Security Server service from the Security Server for the changes to take affect.
Test your newly configured View Security server from a external host using a web browser or the View client with the external address of the Security server (https://view.tcpdump.com). Great work! Now go grab a beer!
!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved." |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Last Updated on Tuesday, 02 June 2009 11:12 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||