openvpn allow same user connection from multiple machine

Write at 2017 May 24 in notes openvpn

It’s common in OpenVPN worlrd where each of user allow to have only one active connection to server. If an user try to connect from other machine, the other will be disconnected.

Basically, each client require their own cert/key with an unique common name(whcih is default behaviour). While we should of course use different cert/key for every user, it’s fine to allow same user connect from multiple machine.

To by pass this, we can simply set this in /etc/openvpn/openvpn.conf

duplicate-cn

So why were this was turn off by default given its usefulness?

Want Email Forwarding For Your Domain? Check out Mailwip.