One user at a time

All comments and questions related to the functionality of the OpenVPN web pages and forum should go here.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
bytes31
OpenVpn Newbie
Posts: 9
Joined: Tue Apr 10, 2012 11:34 am

One user at a time

Post by bytes31 » Mon Jun 04, 2012 9:54 am

Hello!

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

Thanks in advance.



I

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: One user at a time

Post by maikcat » Mon Jun 04, 2012 12:32 pm

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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

bytes31
OpenVpn Newbie
Posts: 9
Joined: Tue Apr 10, 2012 11:34 am

Re: One user at a time

Post by bytes31 » Mon Jun 04, 2012 12:46 pm

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.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: One user at a time

Post by maikcat » Mon Jun 04, 2012 1:30 pm

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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

bytes31
OpenVpn Newbie
Posts: 9
Joined: Tue Apr 10, 2012 11:34 am

Re: One user at a time

Post by bytes31 » Mon Jun 04, 2012 1:36 pm

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.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: One user at a time

Post by maikcat » Tue Jun 05, 2012 6:22 am

keep in mind that duplicate-cn doesnt prevent second client from connecting
when 2 client connects the first one loses connectivity..

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Post Reply