wireguard-overlay

module
v0.0.0-...-698cbd6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2021 License: GPL-3.0

README

Wireguard Overlay Network

Why I wrote this

I have many Linux devices that have dynamic IPv6 addresses. I want to organize them into an overlay network where every device have a fixed IPv6 unique local address.

How it works

An overlay network consists of many nodes. One of them runs as a server and the others run as clients. When a client starts, it fetches the latest IPs of all clients from the server and then adds them as its wireguard peers. So eventually all clients will have peer-to-peer wireguard sessions.

The server must know the public keys of all clients. But clients only need to know the public key of the server because clients will fetch the public keys of all clients from the server. To guard against a compromised server, clients may use a preshared symmetric encryption on their wireguard sessions.

Credits

https://github.com/costela/wesher

Directories

Path Synopsis
cmd
internal
wg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL