Skip to content

published: · updated:

Reading the WireGuard Whitepaper

Conclusion

WireGuard combines a codebase of fewer than 4,000 lines, high performance, broad platform support, simple cryptokey routing, and silent behavior toward unauthenticated packets.

Written by: gymynnym

seriesReading the WireGuard Whitepaper

Conclusion

A Codebase of Fewer Than 4,000 Lines

WireGuard has fewer than 4,000 lines of code, far less than IPsec or OpenVPN. This makes finding vulnerabilities and maintaining the code easier.

Multiple Platforms

Running in kernel space gives WireGuard high performance. Its small codebase supports use across a wide range of devices and security properties that can remain trustworthy far into the future.

Cryptokey Routing

Instead of complex configuration, WireGuard allows connections using only a peer’s public key and allowed IP addresses. This simplifies administration and helps prevent security incidents.

Security Through Silence

WireGuard does not normally respond to unauthenticated packets, making network scanning harder and improving security.

Bonus: Easy Installation

You can also install it with the unofficial convenience script Nyr/wireguard-install.

$ wget https://git.io/wireguard -O wireguard-install.sh && bash wireguard-install.sh