Hey is it possible if I have two VPNs set up on different servers? But only shares one access.
For example,
My vpn 1 on vps1 has a vpn in germany.
My vpn 2 on vps2 has a vpn in us.
Now what i want is that vpn 1 and vpn 2 will have the same user accounts in connecting the vpn.
I use the "useradd username" command.
I want them to have both the username on the two vpns,
NOW the prob is, when i both execute useradd command on both vps, they can connect on those two servers simultaneously, and i dont want that. How do you do it?
VPN with different VPSes
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
-
- OpenVpn Newbie
- Posts: 1
- Joined: Sun Jul 24, 2011 2:32 pm
Re: VPN with different VPSes
I have no idea how to do in the lightweight way. If you are planning to add more VPSes and more VPNs you may think of more advanced access control solution with central database.
The way we are doing it in www.securitykiss.com is that for every VPN user connection the script connects to database to check access permissions. By recording user status in the database you can apply "only one connection per user" policy.
The way we are doing it in www.securitykiss.com is that for every VPN user connection the script connects to database to check access permissions. By recording user status in the database you can apply "only one connection per user" policy.
- Bebop
- Forum Team
- Posts: 301
- Joined: Wed Dec 15, 2010 9:24 pm
Re: VPN with different VPSes
You will have to be more clear with your description of the problem.
Forgive me for not understanding what you want right now, but if you try say it again using different words, it may be possible to try help you with a solution. So, rephrase if you may.
How do your clients connect to the VPN, and what is the purpose in accessing the vpn -- is it a tunnel, or do they access shared resources?NewBiee wrote:Now what i want is that vpn 1 and vpn 2 will have the same user accounts in connecting the vpn.
useradd will give them access to the shell on the VPS -- I thought you said you want to give them access to VPN..NewBiee wrote:I use the "useradd username" command.
Forgive me for not understanding what you want right now, but if you try say it again using different words, it may be possible to try help you with a solution. So, rephrase if you may.
The cure for boredom is curiosity