How to limit how many users can be simultaneously connected

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
linkeong
OpenVpn Newbie
Posts: 1
Joined: Wed Dec 08, 2010 6:31 pm

How to limit how many users can be simultaneously connected

Post by linkeong » Wed Dec 08, 2010 6:34 pm

Hi, I would like to ask if anyone out there can help me with this problem

Currently on my openvpn, I am running 1 key per client but the problem is the clients can share the keys with another computer and still be able to connect to the vpn server.

If 2 are connected with the same key, both are able to use the vpn. I do not have duplicate-cn enabled in my config and my config is pretty much the standard ones.

User avatar
gladiatr72
Forum Team
Posts: 194
Joined: Mon Dec 13, 2010 3:51 pm
Location: Lawrence, KS

Re: How to limit how many users can be simultaneously connec

Post by gladiatr72 » Thu Dec 23, 2010 12:42 pm

Lol! Well, then--enable duplicate-cn on the server and your problem will be solved. If one of your end-users calls and complains that they cannot connect and you see that their certificate is currently in use by Some Else, scold your user, revoke the old cert and create a new one for him.

Problem solved! :D

Regards,
Stephen
[..]I used to think it was awful that life was so unfair. [...]Wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? -Marcus Cole

Post Reply