DoubleVPN do it yourself. Is it possible to?

Asked by lokesh amarnath

OpenVPN supports the DoubleVPN option.
Many VPN services offer the DoubleVPN service (incoming and outgoing servers are different), I personally do not see much point in letting traffic through different servers that belong to the same office.

Question: Is it possible to organize VPN traffic sequentially through 2 independent VPN servers (from the local machine)?
At the moment, through the OpenVPN client I establish 2 connections with different VPN servers, but the traffic goes through either the first or the second, but not sequentially.

someone suggested that using the correct route settings can be done.
Is it possible, and how?

Comments:
What is your local OS? and what do you mean by saying “OpenVPN supports the DoubleVPN option” (preferably a link)? - chris pringle conard
The fact is that:
in theory. I can’t consistently run packets through both servers, because any of the servers will only accept packets from me. Ie for example, I have the keys to VPN1 and VPN2, both servers can only receive packets from my machine, but not from another server. You can configure the sequential passing of packets only if you have root on one of the 2 servers, but I don’t have root, only access keys. So in practice, to organize such a chain is impossible. But, OpenVPN relatively recently announced a new chip in its client “DoubleVPN”, and writes that in order to connect through 2 servers, just put the keys from the second server in the “double” folder and everything should work.
In practice, I noticed that this is possible only when one of the servers is specifically configured as a gateway, but then the question is: why then put the second key in the double folder, and why then generally the DoubleVPN option in the OpenVPN client ? - jessica danz

Answers

nessma aboul fotouh
Connect to the first, while adding a route to the second through it. Establish a connection with the second one, while adding routes through it to everything you need to drive through the VPN (or default 0.0.0.0/32).

You can answer in more detail if you know what your operating system is, what operating system on the servers where you are going to establish these connections, etc.
Replies:
Connect to the first, while adding a route to the second through it. Establish a connection with the second, while adding routes through it to everything you need to drive through the VPN. Tell me where you can read the documentation how to implement this task? - chase parnell
OS what? If Linux, I advise you to read the classic lartc.org/howto - nicole p
liz laurin
you still managed to set it up?
Replies:
almost. Through the virtual machine. - amber dixon
Books on Zend Framework :: Advise material on OpenSSL :: Are there options for porting applications from iOS to Android and back? :: Prompt the best program for working with PostgreSQL under Mac OS :: Best ORM for C #
Leave Repply for DoubleVPN do it yourself. Is it possible to?
Useful Links