Say, we running a Windows 2008 server and have set up a VPN connection in the Network and Sharing Centre. We can see the VPN is connected, but notice that it tends to drop from time to time, not reconnect, even though we specified many reconnects.
The VPN was created while logged in using remote desktop. Kindly clarify if the VPN connection will remain open even if we close the current desktop session. Is there another way that this should be set up to ensure that the VPN remains up even if we close the desk top session? Kindly advise as we want to keep this VPN up at all times.
Thanks
Shaun
if the connection is created in an RDP session, it will close if the User session times out after the RDP client disconnects. There is a default period of time that RDP sessions will be forcibly logged off when you disconnect by closing the session with the X button. If you want the session to stay up, you can either utilize a remote desktop solution that doesn't involve time out (Teamviewer or VNC) and forced logout, or you can modify the Remote Desktop Timeout settings in Group Policy (gpedit.msc > Computer settings > Administrative Templates > Windows Components > Remote Desktop > Session Host)
0
shaunwinginAuthor Commented:
Tx. How can I create it such that its not dependent on the RDP session?
I think you have described a user created remote access VPN in a remote desktop session on a server.
To have the VPN stay up all of the time, instead of using a user session to create the VPN, create the VPN in RRAS instead.
0
There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.
right click on the server, select properties, on the general tab, ensure that IPv4 router is ticked, and LAN and demand dial routing is selected, NOT Local area network (LAN) routing only
right click on Ports, select Properties, ensure that your chosen protocol has Demand-dial routing connections (inbound and outbound) is selected
right click on Network Interfaces, select New Demand Dial Interface and follow the wizard
0
Question has a verified solution.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.