I have a Cisco router in the US and a Symantec Router in China. I have established a Site to Site VPN. I can ping each network from both sides. The problem is that when I use Remote Desktop from the US to China, I am able to connect but I get a black screen, or the connection is very very slow. Any Suggestions?
RDP is a VERY chatty prtocol so do not be surprised if it will not work well/at all over a VPN especailly with many hops.
Couple of things you might try:
RDP sets the do-not-fragment bit in its TCP packet so do a path MTU discovery manuall using ping. Start with a ping packet lenght of 1500 and reduce until you have successful ping.
Adjust you NIC to use the discovered maximum path MTU size
ping -l 1500 -f
On Windows increase the TCP retransmissions retries count via REGEDIT:
Add a value to the TcpMaxDataRetransmissions subkey under the following registry key:
If you find that you are getting MTU issue than I would drop the MTU on one end (at least) to an appropriate value. Fixing one is sufficient. e.g. 1300.
Alternatively if you have a cisco router in the path you could apply the "ip tcp mss-adjust 1300" [from memory] (or whatever value you need) command to an interface on the path, Note that the length in ping commands is often the ICMP data length and not the MTU or the TCP mss.
Don't worry if you are 50 or 100 bytes below the true min, the extra overhead is negligable. Get it working and go and relax.
I think that the absolute most important thing after MTU is to make sure that you are doing selective ack. This is the default in XP.
formatting link
Tune up the RDP parameters. Choose a smaller screen size if necessary. Use as few coulours as you can. Turn off Desktop background, Show contents while dragging, Menu animation, Themes. Turn on bitmap caching.
Also if you are having to wait on the initial splash screeen look into:-
Remote Desktop RDP mstsc splash screen slow links
formatting link
the Logon Screen Wallpaper (All Windows) Popular When you setup a background wallpaper for your desktop, the initial logon screen wallpaper is not changed and stays as the default Windows appearance. This tweak allows you to change the default wallpaper 'c:\\windows\\mylogo.bmp'
Registry Settings System Key: [HKEY_USERS\\.DEFAULT\\Control Panel\\Desktop] Value Name: Wallpaper, TitleWallpaper Data Type: REG_SZ (String Value)
Wallpaper "A filename" Without quotes Pattern "(None)" Without quotes TileWallpaper 0 = don't Old PC Wallpaper was - C:\\Windows\\cpq800h.bmp
NO REBOOT NEEDED has immediate effect.
I do feel that Merv has on this occasion been more negative that I am about RDP. We have people using it from Hong Kong to London over a VPN.
I think that, aside from the MTU thing, the VPN makes no difference.
One thing to do is to make sure that RDP is OK on the target machine. Get someone local to try it out.
There is a nice cisco doc on MTU. I will have a look for it tomorrow. I think if you search for MTU GRE IPSEC you should get it.
Finally my bet is on Merv being right about the MTU.
My thanks to everyone who is providing me with help, I tried all of the above mentioned, but nothing works. I have also tried browsing to the servers share: \\\\server-over-vpn\\share but that times out and I can't access that either. Could the two problems be related?
Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.