mesh VPN with wireguard?
rm at romanrm.net
Sat Apr 6 15:01:55 CEST 2019
On Thu, 28 Mar 2019 23:22:45 +0900
Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> Does Wireguard allow to set up mesh VPN with "relative ease"?
> Say, we have 10 servers with public IPs, we want them all to create a
> VPN network with private subnet 10.11.12.0/24, and have all 10 servers
> communicate directly with each other.
> Then a year later, expand it to 100 servers.
But note that in this case unlike Tinc you cannot have some servers exit to
the outside world via some other servers (with AllowedIP 0.0.0.0/0). There has
to be just one such exit point per a WG network.
If it's purely for communication between servers, then of course no issue.
> Something in the line of: https://www.tinc-vpn.org/
Another limitation compared to Tinc is that Tinc will autoheal the partially
disconnected mesh and will have some nodes forwarding for the others, in case
direct communication between some of them gets cut (e.g. due to a peering or
routing issue on the underlying Internet -- this saved me a few times).
WG will do no such thing, and node-to-node communication working will depend
on both nodes always having direct connectivity to each other.
More information about the WireGuard