V
V
Vladimir Solovyov2016-08-20 11:28:20
VPN
Vladimir Solovyov, 2016-08-20 11:28:20

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

4 answer(s)
S
silverjoe, 2016-08-21
@Cttr

Can. Implemented - connected two stars.
Raise site-to-site between the same servers.
Becomes a separate configuration file.
Well, set up routes.

D
Dmitry Shitskov, 2016-08-20
@Zarom

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.

N
nafigat, 2016-08-20
@nafigat

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.

I
Ivan, 2016-08-20
@LiguidCool

You can, just configure the routing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question