Page 1 of 1

restrict openvpn client

Posted: Mon Mar 21, 2011 5:32 am
by arvpnick
hi, let us say i have two vps and lets name them server1 and server2 and an openvpn installed on each of them so that my clients have options where to connect whether in server1 or in server2.

i tried to generate the same username and password for my client in the two servers so that he will have a unique username and password for both servers.

my problem is i tried connecting to the two server using my two computers at the same time using the same password and username i generated and i was able to connect to the internet that is why what i want is, is there a way for me to restrict my client from connecting to the server at the same time in case he has two computers too?
thanks in advance.

Re: restrict openvpn client

Posted: Mon Mar 21, 2011 5:58 am
by krzee
you could make a tls-verify script that queries the other machines management interface to check for the user being connected there
in the manual read:
--tls-verify
--management

hope that helps

Re: restrict openvpn client

Posted: Sat Apr 02, 2011 6:36 am
by arvpnick
i do not have an idea how to make a script mate and where will i execute or put that? thanks

Re: restrict openvpn client

Posted: Sat Apr 02, 2011 9:08 pm
by arvpnick
need another suggestions sir please help,

Re: restrict openvpn client

Posted: Sun Apr 03, 2011 11:25 am
by arvpnick
need your help mates,