Restrict user to only 1 vpn session in windows server

Anonymous
2024-09-21T15:54:45+00:00

I Have an application built in a shared folder accessed by my customers through VPN connection. It is a per user charge service. Recently i got sense some customers are sharing one single user to multiple persons that access it simultaniously. Can I restrict the number of simultaneous vpn sessions per specific user? If yes, how to? (Using Windows Server 19 Standard)

Example:

  • AzureAD\customer.user.1 is restricted to 1 simultaneous vpn session;
  • AzureAD\customer.user.2 is restricted to 3 simultaneous vpn sessions;
  • AzureAD\customer.user.3 is restricted to 20 simultaneous vpn sessions;

Thanks in advance,

Toni

Windows Server | Networking | Network connectivity and file sharing

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-09-23T16:19:40+00:00

    Hello,

    According to your needs, you can try to use the Network Policy Server to create a network policy that enforces session limits to specify the maximum number of connections for a user. You can refer to the following link:

    Network Policy Server (NPS) | Microsoft Learn

    Best Regards

    Zunhui

    0 comments No comments
  2. Anonymous
    2024-09-23T21:04:44+00:00

    Thank you very much @Zunhui Han. I'll study this guide in the next few days and give back a feedback on the results. I thought it would have an easy function for that. I'll need to setup a test environment to be sure I'll not stop service for my customers.

    regards,

    Toni

    0 comments No comments