Page 1 of 1
How to setup multiple VPS servers using same ca.cert?
Posted: Sat May 14, 2011 5:24 pm
by xauen
Hello sirs,
I have multiple VPS servers that i want to incorporate on my existing VPS with VPN server.
I would like my current clients to have access to the "new" multiple VPS server using same login credentials (in one kloxo panel.
Eg.
1. user100 connects to server1.
2. server1 is full so user100 transfers to server2 using same login credentials in the same openvpn clientGUI (customized).
3. user100 connects, then leaves due to slow connection speed.
4. user100 then connects to server3 using same credentials he used on servers 1 & 2.
thanks sirs:-)
Re: How to setup multiple VPS servers using same ca.cert?
Posted: Sat May 14, 2011 9:31 pm
by janjust
set up 3 servers with 3 server certs (server1.crt, server2.crt, server3.crt), all signed by the same CA.crt .
set up the client config to use
Code: Select all
remote server1 1194
remote server2 1194
remote server3 1194
remote-random
make sure the username+passwords are synced across all 3 servers (e.g. using a central LDAP database).
There's no reason this could not be made to work.
Re: How to setup multiple VPS servers using same ca.cert?
Posted: Thu May 19, 2011 9:37 am
by xauen
Ok now i get it a little bit.
But, what if i wanna setup a master-slave VPS using Kloxo.
1. Do i have to install openvpn in the slave server "also" or just on the master server
using multiple .conf but with different local IP?
2. How about the IPtables? Do i have to add the IP's of the slave servers on the master server
IPtables postrouting? Or do i have to "individualize" each iptables for each slave server?
3. I want a little bit clarification on "service openvpn start ". Does this command start all serverx.conf regardless of the quantity of my serverx.conf files? Or do i have to start each serverx.conf manually next to "service openvpn start"?
Hoping for your immediate answer guys.
Thank you

Re: How to setup multiple VPS servers using same ca.cert?
Posted: Thu May 19, 2011 11:18 am
by janjust
1. Do i have to install openvpn in the slave server "also" or just on the master server
using multiple .conf but with different local IP?
this is
NOT a VPS/kloxo forum, it's an openvpn forum; what you want to achieve is kloxo dependent - ask them
2. How about the IPtables? Do i have to add the IP's of the slave servers on the master server
IPtables postrouting? Or do i have to "individualize" each iptables for each slave server?
again, depends on what you want to achieve and configuring iptables is off-topic for this forum anyways
3. I want a little bit clarification on "service openvpn start ". Does this command start all serverx.conf regardless of the quantity of my serverx.conf files? Or do i have to start each serverx.conf manually next to "service openvpn start"?
that depends on the linux distro: some restart all .conf service (rhel5/centos) , some can be configured to restart only a single service (debian, ubuntu) . Besides, the 'service openvpn start' command is slightly off-topic for this forum also.
Re: How to setup multiple VPS servers using same ca.cert?
Posted: Sat May 21, 2011 6:45 am
by xauen
Sir janjust i just dont get the point sir.
Can you give me some reference materials on how i can connect multiple openvpn servers
to a central ldap. I've been searching the internet for weeks now,.
Please help me.. Im in deep trouble sire.
Thanks,