• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 126
  • Last Modified:

VPN running on Windows 2008 Server

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
0
shaunwingin
Asked:
shaunwingin
  • 4
  • 4
3 Solutions
 
Adam BrownSr Solutions ArchitectCommented:
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?
0
 
ArneLoviusCommented:
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
What Kind of Coding Program is Right for You?

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.

 
shaunwinginAuthor Commented:
Please provide details on how to access RRAS and how to create it.
0
 
ArneLoviusCommented:
Routing an Remote Access Services is a Windows feature, that when installed is accessible in Administration Tools
0
 
shaunwinginAuthor Commented:
How do I install please - cannot find the option...
0
 
ArneLoviusCommented:
0
 
shaunwinginAuthor Commented:
Tx Installed - now how to create the VPN connection....?
0
 
ArneLoviusCommented:
In the RRAS manager

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.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

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.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now