Amin El-Zein
asked on
same user on OpenVPN make a two session
Hello,
how I can make the same user on OpenVPN make a two sessions not more ?
I tried:
thanks.
how I can make the same user on OpenVPN make a two sessions not more ?
I tried:
duplicate-cn 2
but I see that the same user can make 3 connection !thanks.
ASKER
what i have to limit that ? so the user can access two times only ?
openVPN has no options for that.
It either is 1 limit case or unlimitted case. No setting any arbitrary limit.
So you can issue the user two logins. (2 certificates) which can only login once each.
It either is 1 limit case or unlimitted case. No setting any arbitrary limit.
So you can issue the user two logins. (2 certificates) which can only login once each.
Everything else requires to run a script on the server doing the work of checking the current count, e.g. by looking up in the status file.
ASKER
could please give me any example for that ?
thanks
thanks
ASKER
any suggest?
ASKER
any update?
thanks.
thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
duplicate-cn present in config means if several users logon with the same certificates that IS allowed.
duplicate-cn not present of disabled in the config means each logon must be from a unique user...
so the basic choice is: 1 or many logon per certificate.