Skip to main content

What is WireGuard?

WireguardWireGuard is a fairly new tunneling protocol that runs overon UDP,top it'of UDP. It's kernelmain levelselling points are that it is very easy to configure and is generallyalso very fast,fast it's(It ablecan toeasily attainreach speeds in excess of >1gbps1 Gbit/s without much trouble at/ all.resource Config is simple and easy and it's able to run on just about anything that can run linux (which in itself is also just about anything)utilization).

It'sIt configuredis usingavailable for every major operating system you can find in the wild (namely Windows, Linux and Mac OS)

To understand how simple configthe filesconfiguration likeis, this!have a look at the following snippet:

[Interface]
Address = 10.0.0.1/24
ListenPort = 51820
PrivateKey = 4BhSWsplXEJrqSDvb/kIy6FzfXkimLF4b3h/nrz/vkY=

[Peer]
PublicKey = EzEyCarbQdia+D0u7aRvSDL4hz3YCQQjgvOVGBEPBDo=
AllowedIPs = 10.0.0.2/32

[Peer]
PublicKey = dq/DbVCb40ZjuKZZv1EhTH/4FQRGme4pe07B5CIvuVo=
AllowedIPs = 10.0.0.3/32

[Peer]
PublicKey = UDIqfBJAKc1YmpvRxDSM4tc3ZrbzNHduEqVqZmG4CXU=
AllowedIPs = 10.0.0.4/32

That small little amount of config would allow 3 clients to connect to the wireguardWireGuard "server" with theretheir own matching private keys!

Want to use wireguard for your own network? Great! See the rest of this documentation here!