Page 1 of 1

One user at a time

Posted: Mon Jun 04, 2012 9:54 am
by bytes31
Hello!

Anybody here knows how to prevent sharing openvpn account and access them all together?

Thanks in advance.



I

Re: One user at a time

Posted: Mon Jun 04, 2012 12:32 pm
by maikcat
hi there,

what exactly do you mean by "sharing openvpn account"?

if you are using certificates you can remove duplicate-cn directive from your server config.

Michael.

Re: One user at a time

Posted: Mon Jun 04, 2012 12:46 pm
by bytes31
Hi!

For example: One of my premium user share his account to his friend, and they can use the same username and password to access the vpn together.

I am using 1 certificate only to all users.

Thank you.


Edit: I have no duplicate-cn on my server config.

Re: One user at a time

Posted: Mon Jun 04, 2012 1:30 pm
by maikcat
hi there,
I am using 1 certificate only to all users.


are you talking about ca.crt?

the only way i can think of is using a script to check if someone is online and deny access to him...

manual way only :(

Michael.

Re: One user at a time

Posted: Mon Jun 04, 2012 1:36 pm
by bytes31
No, not the ca.crt.

Maybe like you side, using script, or radius I guess. I thought there's a way to do that in config.

Thank you.

Re: One user at a time

Posted: Tue Jun 05, 2012 6:22 am
by maikcat
keep in mind that duplicate-cn doesnt prevent second client from connecting
when 2 client connects the first one loses connectivity..

Michael.