Solved

RDP losing session when Cisco VPN client loses connection

Posted on 2007-03-23
8
1,959 Views
Last Modified: 2013-11-21
RDP losing session when Cisco VPN client loses connection
This is the scenario, when users are connected VIA Cisco VPN client to our ASA VPN server and they are using Windows XP Remote Desktop. If the connection dies or disconnects on the VPN side they lose the XP RDP Session.
Say I have my VPN tunnel and RDP connection Established. If I kill the VPN tunnel the RDP session disconnects and logs out the session. Is there any way around this on either end?
0
Comment
Question by:djohnson104
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 28

Expert Comment

by:batry_boy
ID: 18781470
If the user is using the VPN connection as their means of communicating with the machine they are RDP'ing into, then this most definitely will cause them to lose their RDP session.  This is like unplugging your network cable as far as connecting to the RDP machine.  Am I missing something here?
0
 
LVL 2

Author Comment

by:djohnson104
ID: 18781494
XP Machine (RDP Client)<--------> VPN Client <======================>VPN Server <--------><XP Machine (RDP Server)

So the RDP works through the VPN tunnel.  Follow?
0
 
LVL 28

Expert Comment

by:batry_boy
ID: 18781518
Yep, that's what I thought...so you're saying this is what is happening:

XP Machine (RDP Client)<--------> VPN Client <====|        x          |====>VPN Server <--------><XP Machine (RDP Server)

So, whenever your VPN session is disconnected (for whatever reason), it makes sense that your RDP session would be terminated as well since the RDP traffic is traversing the VPN tunnel for it to work in the first place.

You ask if there is any way around this...you should troubleshoot the cause of your VPN disconnects.  Have you noticed any pattern of consistency with the VPN disconnections?
0
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 
LVL 2

Author Comment

by:djohnson104
ID: 18781546
No pattern. Some users have crappy connections. For instance i have had a user on for 8 hours with no problems. I have another guy calling me every 2 min with a disconnect. Its either their ISP or something on their network. Maybe there kid is using bittorent and killing their connection. I am not sure but you would think RDP would save a session if the connection Disconnects.
0
 
LVL 28

Expert Comment

by:batry_boy
ID: 18781620
Windows XP only supports one login session at a time...that session can either be a local user using the workstation or it can be a remote user using RDP.  This is why the local user is logged off when a remote user establishes an RDP session to it.  I don't know if XP works the same as Windows 2K/2K3 server about terminal service sessions, but I know the server OS'es would save the session.  You can test this by simulating the disconnect from an XP RDP session.

As for troubleshooting the VPN connections, what connection protocol are your VPN users using...tcp or udp?  For the users who are having the disconnect problems, have them change over to the other procotol, whichever one they are not currently using.  You'll have to enable IPSEC over TCP on the ASA first if you haven't already.
0
 
LVL 32

Expert Comment

by:rsivanandan
ID: 18788440
Also what is the vpn client you are running, from what I remember 4.8 of vpn client version was good.

Also just reset the tcp/ip stack on the problem machine once to save that problems which could happen quite.

Open a command prompt and do this;

netsh int ip reset reset.log
netsh winsock reset

then REBOOT.

Cheers,
Rajesh
0
 

Accepted Solution

by:
bawzeus earned 125 total points
ID: 18788710
Ok when you disconnect froma vpn client you are loosing all of the routing and ip addressing from the network you are connecting from whis will make you loose your connection to the server you are accessing with rdp. Why are you loosing connection to the vpn is it timing out or is someone disconneting on purpose. What you can do is ask the active directory administrator on the VPN server side to not limit the timeout on the session you are using so it will not disconnect. You also need to setup your vpn device not to time out as well so the device does not auto disconnect.
0
 
LVL 2

Author Comment

by:djohnson104
ID: 18807120
Bawzeus, let me look in to those options.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question