-1

I've been commissioned by my boss to set up a lab for our customers that they can access via VPN. Each customers should have access to the lab for either 80 or 100 hours, depending on what they purchase. How can I do that? Is there a way to keep track of the time a user is connected via VPN and then close that connection once he or she reaches the time limit?

2
  • Wow. Not a single technical detail in your question. How are we supposed to provide you an answer?
    – joeqwerty
    Sep 26 '17 at 11:16
  • If I haven't been given any technical details, I don't see how I can share any with you.
    – user1234t6
    Sep 30 '17 at 17:25
1

The specific answer will depend on your specific VPN software but, in general, yes. Most VPN software supports the use of RADIUS for AAA (authentication, authorization, and accounting). In this case what you want is RADIUS authentication and accounting data so that when a user logs on and logs off the VPN you can collect those start/stop times. Your VPN solution should also use RADIUS for authentication so that you can deactivate an account after some usage amount (tracked be the accounting part) has been exceeded.

This is probably not going to all be built into your VPN solution but the foundation for it should be there if RADIUS is supported for AAA. You will probably either need to write or find a backend application which can track RADIUS start-stop accounting messages and enable/disable authentication for a user based on the amount of time which was used.

1
  • Thank you for the answer. Now, I think I know how to set up what my boss asked me.
    – user1234t6
    Sep 30 '17 at 17:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.