I don't use option "username-as-common-name" but username is equally common-name in certificate. When both client is connected they by rotation disconnect/reconnect to server.
Jan Just Keijser писал 19.05.2015 06:42: > Hi, > > On 19/05/15 03:55, deis...@zlug.asia wrote: >> Hello. >> >> I use openvpn-2.2.1 as server and client use auth by certification >> and >> user/pass. >> Server config have not option duplicate-cn, however 2 client cat >> connect from 2 ip at the same time using one certificate and >> login/password. >> >> password auth use pam module. >> >> How do disallow use 2 conect at the same time using one >> login/password >> and one certificate/cn? >> > the only circumstance under which this could happen is if you use > "username-as-common-name" - otherwise, when the second client > connects > the first session is dropped. Are you using that option? > > JJK ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users