wireguard-rs is a Rust library providing a unified interface to WireGuard native OS Kernel and user space implementations. It can be used to create your own WireGuard:tm: VPN servers or clients for secure and private networking.
It was developed as part of defguard security platform and used in the gateway/server as well as desktop client.
- Native OS Kernel
- Linux
- FreeBSD
- Windows (in development)
- User space using wireguard-go
- Linux
- macOS
- Windows
- FreeBSD
- ... and all other supported by wireguard-go
- Client: https://github.com/DefGuard/wireguard-rs/blob/main/examples/client.rs
- Server: https://github.com/DefGuard/wireguard-rs/blob/main/examples/server.rs
See the documentation for more information.
Find us on Matrix: #defguard:teonite.com
Please review the Contributing guide for information on how to get started contributing to the project. You might also find our environment setup guide handy.
WireGuard is registered trademarks of Jason A. Donenfeld.