no disconnection of a client with same cn
Posted: Mon Nov 14, 2011 2:23 pm
Hi,
I do not use (and want) duplicate-cn: my remote users get IP address, mask, dns, etc etc from the server.
Sometimes it happens that, erroneously, a client connects using the cert of another, already connected, client.
The result of this error is that the connected client is disconnected and the 2nd one becomes connected. After 5secs, the disconnected one restarts and disconnects the other and this is an infinite loop.
I would like to set OpenVPN in such a way a client cannot connect if there is a client with the same cn already connected.
I tried, without success, single-session
Is this possible?
Thank you for your help!!
Francesco
I do not use (and want) duplicate-cn: my remote users get IP address, mask, dns, etc etc from the server.
Sometimes it happens that, erroneously, a client connects using the cert of another, already connected, client.
The result of this error is that the connected client is disconnected and the 2nd one becomes connected. After 5secs, the disconnected one restarts and disconnects the other and this is an infinite loop.
I would like to set OpenVPN in such a way a client cannot connect if there is a client with the same cn already connected.
I tried, without success, single-session
Is this possible?
Thank you for your help!!
Francesco