Answer the question
In order to leave comments, you need to log in
Is it possible to connect two OpenVPN networks?
Good afternoon. There are two spherical openvpn networks vpn1 and vpn2. Is there any possibility to combine them into one whole in order to get at least access of clients from vpn2 to vpn1 clients?
Answer the question
In order to leave comments, you need to log in
Can. Implemented - connected two stars.
Raise site-to-site between the same servers.
Becomes a separate configuration file.
Well, set up routes.
In your case, the network, albeit from 3 servers, is a star. Number 1 server is central, the other two connect to it via openvpn. You will need to configure routing between the subnets of both client servers. As you have already been told, this must be done through the push route command in openvpn so that servers 2 and 3 know about each other's existence. Or allocate a subnet for vpn and issue addresses from it to all clients - then you can do without extra routes, it will simplify the configuration a hundred.
In some cases, if desired, you can assemble the servers into a ring or fullmesh.
Here is such a spherical solution.
M.b. connect a server from one network to another as an openvpn client and configure routing. Haven't tried it myself, but it should work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question