restrict openvpn client

How to customize and extend your OpenVPN installation.

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

Post Reply
arvpnick
OpenVpn Newbie
Posts: 9
Joined: Wed Mar 16, 2011 2:10 am

restrict openvpn client

Post by arvpnick » Mon Mar 21, 2011 5:32 am

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.

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: restrict openvpn client

Post by krzee » Mon Mar 21, 2011 5:58 am

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

arvpnick
OpenVpn Newbie
Posts: 9
Joined: Wed Mar 16, 2011 2:10 am

Re: restrict openvpn client

Post by arvpnick » Sat Apr 02, 2011 6:36 am

i do not have an idea how to make a script mate and where will i execute or put that? thanks

arvpnick
OpenVpn Newbie
Posts: 9
Joined: Wed Mar 16, 2011 2:10 am

Re: restrict openvpn client

Post by arvpnick » Sat Apr 02, 2011 9:08 pm

need another suggestions sir please help,

arvpnick
OpenVpn Newbie
Posts: 9
Joined: Wed Mar 16, 2011 2:10 am

Re: restrict openvpn client

Post by arvpnick » Sun Apr 03, 2011 11:25 am

need your help mates,

Post Reply