I have an OpenVPN setup and my clients authenticate with my server using the keys I've generated through pkitool.

The problem is that the clients can share the keys with others and effectively allow many others to connect through my VPN. How can I impose a restriction that a client key can only be used for one connection at a time?



you should check for the directive "duplicate-cn" in server.conf configuration file. Make sure it's NOT uncommented.

  • Thanks but I tried that and I can still login with the same key from two clients simultaneously. – recluze Feb 10 '11 at 8:56
  • Oh, got it. The wording was a little convoluted but it works. Thanks. – recluze Feb 23 '11 at 3:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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