Skip to main content

What is wireguard?

Wireguard is a fairly new tunneling protocol that runs over UDP, it's kernel level and is generally very fast, it's able to attain speeds of >1gbps without much trouble at all. 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).

It's configured using simple config files like this!

[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 wireguard "server" with there own matching private keys!

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