Skip to content

            Lost ?  |  Need an account:
 
Home >> Virtualization >> Virtual Desktop >> Can't connect to View Security Server from outside Firewall
  • Index
  • Virtualization
  • Users
  • Search

thirt
Member
ranks
useravatar
User Info

Can't connect to View Security Server from outside Firewall

Hi Marin,

Per your comments at http://www.tcpdump.com/kb/virtualizatio … erver.html, lets use this thread to discuss your problem further. 

So when you hit the external address (https://someaddress) do you see the View Portal Login:
http://www.tcpdump.com/images/articles/forums/virtualization/view-portal-login.jpg



Edited By:  thirt
Sep-04-09 15:20:25

Administrator has disabled public posting
HappyPappy
Member
ranks
useravatar
User Info

Re: Can't connect to View Security Server from outside Firewall

I can get through to the portal from outside but since I'm testing from a Windows 2003 server box I get an "unsupported OS" message.

Not sure if that helps clarify it or not.

Also, I actually authenticate and connect using View client to the point where I get a list of VM Machines (machines running agent) to connect to and it's that connection that fails.

Will try to take some screen shots and update this post.


Administrator has disabled public posting
HappyPappy
Member
ranks
useravatar
User Info

Re: Can't connect to View Security Server from outside Firewall

Attaching some screenshots to help clarify

http://www.tcpdump.com/images/articles/forums/virtualization/happypappy-view-1.jpg
http://www.tcpdump.com/images/articles/forums/virtualization/happypappy-view-2.jpg
http://www.tcpdump.com/images/articles/forums/virtualization/happypappy-view-3.jpg

Again, this works perfectly fine as long as we're inside the firewall but fails outside the firewall. It definitely appears to be a firewall issue but just not sure what other ports to open.


Administrator has disabled public posting
thirt
Member
ranks
useravatar
User Info

Re: Can't connect to View Security Server from outside Firewall

Ok... couple things to check:


  1. Are you running any type of Spyware/Malware software on your client PC (the PC your are running the View client on?)  If so, disable it

  2. Is the Windows firewall running?  If so, disable it (although usually this shouldn't present a problem)

  3. Is the Security Server on the DMZ or Inside your Network, and is there a firewall or any other network security devices between the security server and the connection server?


    • Try to ping the connection broker from the console of the security server.

    • Try to connect (via telnet) to all the required ports from the console of the security server to ensure something (i.e. a firewall/IDS) isn't blocking the traffic:
           * 3389 on Virtual Desktop
           * 4001 on Connection Server
           * 8009 on Connection Server


  4. Does name resolution (DNS) work from the security server to all the components?  Can it resolve the hostnames of the desktop you are trying to connect to and the hostname of the connection server?

  5. Are you sure you have the NAT setup correctly?  As noted here: http://www.tcpdump.com/kb/virtualizatio … ation.html


Also, I have never tried running the View client on a Windows Server workstation, any chance you can run it from a XP workstation just to make sure its not a compatibility issue with the OS?


Administrator has disabled public posting
HappyPappy
Member
ranks
useravatar
User Info

Re: Can't connect to View Security Server from outside Firewall

Hi, sorry for the long delay, here's what we know in regards to your points;

#1 - As far as we know we're not running anything other than our standard Anti-Virus which is NODs ESET

#2 - Again, not as far as we know, we check the Windows Firewall in Control Panel and it's turned off

#3 - We tried the Security Server both inside the DMZ and inside our network with pretty much the same results. Truth be told we only installed security server in an attempt to get the whole thing going and don't really feel we want it.

- pinging connection server from security server is fine

- telnet appears to work correctly, I don't get any kind of prompt but telnet appears to connect correctly in that it doesn't complain about not being able to connect; tried from security server to connection server on ports 4001 and 8009 and from security server to desktop on port 3389....NOTE it's not a virtual desktop but a physical desktop.

#4 - Yep, tested using nslookup and all components appear to resolve correctly

#5 - Not 100% sure, we have a Linksys WRT310N and as mentioned previously ports 80 and 443 are forwarded to the security server. We really don't have a second firewall setup and we only installed security server in an attempt to get this going. My original understanding and intent was simply to use connection server directly from the Internet as per the attached picture.

In other words we were originally forwarding internet traffic directly to the connection server and had the exact same problem in that we could connect to the connection server but not the desktop.

http://www.tcpdump.com/images/articles/forums/virtualization/happypappy-view-setup.png


Administrator has disabled public posting
thirt
Member
ranks
useravatar
User Info

Re: Can't connect to View Security Server from outside Firewall

Ok, chances are this is a NAT issue.....

From the guide, http://www.tcpdump.com/kb/virtualizatio … ation.html, when you added the Security Server in the View administration portal:

  1. Does the View Connection server resolve the hostname exactly as you have entered it in the "Server Name" field?
  2. Does the external URL field NAT directly to the security server as you have entered it in the "External URL" field, (including the port number)?
  3. This may be redundant to point #2, but does the External url include https and 443?


Although this may not be necessary (if you followed the guide, you would have already restarted the services on both the Security and Connection servers) but have you tried restarting both servers since updating the configuration files to ensure the configuration data isn't cached somehow?


Administrator has disabled public posting
HappyPappy
Member
ranks
useravatar
User Info

Re: Can't connect to View Security Server from outside Firewall

In reply:

1 - Yes, but obviously the ip addresses are different internally and externally.

2 - Yes, it's https://server.domain.com:443

3 - See #2.

Some questions that may help clarify some things...

1 - Once connection server makes a connection to an agent/desktop, does it then let the client and desktop handle the session themselves or is the session still managed by connection server?

2 - What is the "Direct Connection to Desktop" setting on the server settings dialog?

Thanks for all the help but we're about ready to give up on this and go with LogMeIn or similar service.

Our trial is about to expire not to mention the cost factor.


Administrator has disabled public posting
HappyPappy
Member
ranks
useravatar
User Info

Re: Can't connect to View Security Server from outside Firewall

One more diagnostic thought, if there's a user working on the desktop in question then we actually get a message stating that the desktop is busy.

Get the user to logoff and try connecting and of course we're back to the issue in question.

Bizarre.


Administrator has disabled public posting
thirt
Member
ranks
useravatar
User Info

Re: Can't connect to View Security Server from outside Firewall

Hrm....

Re #1:  I'm almost 99% positive for external connections, the session is managed by the security server.  So the client communicates with the security server and the security server then talks to the connection server and/or desktop.  The security server basically acts like a bridge between the desktop and the client (since firewall rules etc prevent direct communication.)

Re #2: I believe (although I'm not positive) that for external connections, the "Direct Connection to Desktop" setting has no effect (b/c of the firewall rules etc.)  It's my understanding, that option is only applicable on a LAN/WAN were the client could bypass the connection broker (after the connection was made) preventing the need for the connection broker to bridge the traffic (as the security server does for external traffic.)

I think I'm almost out of ideas for things to test.....  It would be interesting to see what you would see if you ran Wireshark on both the client PC and the security server.  You might see on one or both a TCP reset (which would indicate a security device someplace between the two resetting the connection.)

Also, from your first set of screen shots, it looked like your client was running from within a VM.  To ensure its not something on the client (like the Windows Firewall or antivirus software), have you used that same VM to connect to View internally?

Finally, the fact View recognizes when the desktop is in use just indicates that both the security server and connection server are aware the status of the desktop.  I still have a feeling that the reason for the failure lies in either the DNS or NAT translation.  If you wanted to private message me with all the IP addresses and hostnames and a login, I would be happy to take a quick peak at it from here.


Administrator has disabled public posting
asarandi
Member
ranks
useravatar
User Info

Re: Can't connect to View Security Server from outside Firewall

Hello, I think I have the same problem. Did You find any solution?


Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 5096   Total Topics: 93   Total Polls: 1   Total Posts: 16777260   Dormant
User Info:   Newest User :  aaa123   Members Online: 0   Guests Online: 71
Online  There are no members online
Generated in 0.18 sec. Queries: 112