wireguard-rs - library/crate providing unified WireGuard interface to native/kernel and userspace implementations

106 points robert_teonite

While developing our open-source security platform defguard (its gateway/server part and now desktop clients) we have decided to create a unified Rust interface for communicating with WireGuard Kernel/OS and userspace implementations.

And that's how: https://github.com/DefGuard/wireguard-rs came to be.

The implementation has been comprehensively tested and used by our various deployments on Linux and OPNSense/FreeBSD servers (as well as tested by security researchers).

Now that we are implementing a proper desktop client we are implementing (and will be thoroughly testing) native Windows and macOS integrations.

Hope anyone will find this crate useful in other projects!