O
O
Oleg2020-12-01 10:55:36
VPN
Oleg, 2020-12-01 10:55:36

How to set up multiple Wireguard connections?

It looks like I'm just confused about peers, interfaces and keys ....
There are 2 VDS. Connections are configured.
If I connect from a computer in turn to one then to the second VDS, everything works like a clock. But I need to support 2 connections at once. In general, ideally, as many as 4.
Here is a link to at least some kind of algorithm for the correct distribution of keys between peers. But something still does not work)
https://www.reddit.com/r/WireGuard/comments/eoqz5e...

My attempt to connect 2 peers at once (by simply adding one peer to another config)
5fc5f5db565d0582967904.png
In this case, only one works block (upper) Lower does not want to.
I understand that this is due to the fact that the second VDS (х.х.93.135) does not have the necessary keys.
But what keys she needs, even stupid.
Each peer has 2 pairs of keys (Server/Client - Public and Private

).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2020-12-01
@VDT2

Set up... MASH topology worked

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question