Connect to 2 openvpn servers with the same IP
-
Hi,
I have 2 key files to connect to 2 differents openvpn servers. This 2 servers were configured in the same way, i.e., both have the same IP-range (10.8.0.0) and both in 1194 udp port. I have no access to any of the servers, so I cannot change anything of these servers.
I can connect to both servers by doing:
/etc/init.d/openvpn start connection1
/etc/init.d/openvpn start connection2When I access to database of 10.8.0.1, I can only access the second connection's database. And I cannot access to both servers' databases at the same time.
I think that exists some way to redirect the IP adress of one openvpn server, but I don't know how.
Is to redirect the IP adress the unique solution? Or Does another solution to access the databases of both servers at the same time exist?
Thanks in advance!
Liajim
-
When you plan to connect a bunch of computers together into a wider network, its always good practice to put each on separate subnets. Is it too late for you to do that?
-
Actually, i didn't configure these servers, I'm just a client. So, I cannot do anything to change the subnets.
-
Tough cookies then… cannot work.
-
Yes, you will have to bring up OpenVPN link1, do your work, disconnect the link. Then repeat with link2.
Rather annoying if you need both remote sites accessible at the same time! -
As they said, the same thing is different ways, it won't work then.
I'd suggest getting on the admin's case and making him fix it.