A
A
avp2016-11-14 10:46:29
linux
avp, 2016-11-14 10:46:29

How to properly design OpenVPN?

How to design OpenVPN to work with 3 servers. Connection between servers in the following way:
1 s 2
1 s 3
2 s 1
2 s 3
3 s 1
3 s 2
I understand that you can simply make a server, for example, on the first one and connect the second and third server through a virtual subnet. But I would like to separate connections between directions to different network cards. Those. if we take into account the first server. Then through one network card the connection goes to the second server, through another network card to the third server.
I got lost in my thoughts on how to make multiple installed copies of OpenVPN on the same server.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Shitskov, 2016-11-14
@Zarom

How to run multiple versions of OpenVPN on the same server?

systemctl start [email protected](will use the server.conf configuration file)
systemctl start [email protected](will use the server2.conf configuration file)

S
Sanes, 2016-11-14
@Sanes

Начать с ТЗ. В котором человеческим языком описана цель.

E
elcanner, 2016-11-14
@elcanner

To begin with, I agree with comrade Sanes
If I correctly understood this "TK", then a person needs to make a connection between 3 OpenVPN servers (not demons on 1 machine) and draw up a clear route diagram.
although after reading the last lines I think that I want to run several vpn daemons on one server and still connect them to each other ... but I reject this option because of its absurdity :)
if my first assumption is correct, then it will be easiest to connect the servers according to the scheme " each with each" without forwarding routes !!! using 3 daemons on each server (1 server and 2 clients) according to the scheme indicated by comrade Dmitry Shitskovwell, or "manual launch" well, or through screen or in some other perverted way. Then, by editing hosts, you can clearly define who will go from where and where.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question