[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

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

Idle or Timeout VPN connections to auto disconnect

Have a windows 2003 server and would like to know if there is a way after either a set time or idle period to automatically disconnect a VPN session. Have one user that will stay on for weeks if I would let him. Isn't working just keeps forgeting to disconnect from the VPN.
1 Solution
Rob WilliamsCommented:
You can create a remote access policy to disconnect idle sessions. From an earlier post of mine:
Open the RRAS console | expand the server | click on remote access policies | right click in the right hand window and choose new Remote access policy | use wizard and enter a name | VPN | select the group or users to which you wish to apply | select defaults in the next windows (unless you have configured differently) and  finish | right click on the policy and choose properties | edit profile | set you idle time out, session limits, and/or access times and OK
Polices are executed in order, but I don't believe the placement of this one should make much difference. If you want to change its placement right click on the policy and choose move up or down.

This should do it. I don't believe you have to restart the RRAS service to apply, but if it doesn't work you can restart from the services management console.
As an alternative, you could also edit an existing policy.

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

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