https://github.com/kassane/wireguard-zig-test
Experimental wg-library with Zig
https://github.com/kassane/wireguard-zig-test
linux testing vpn wireguard zig
Last synced: 2 months ago
JSON representation
Experimental wg-library with Zig
- Host: GitHub
- URL: https://github.com/kassane/wireguard-zig-test
- Owner: kassane
- License: unlicense
- Created: 2023-01-13T17:20:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-29T19:53:26.000Z (about 3 years ago)
- Last Synced: 2025-03-27T23:44:21.479Z (about 1 year ago)
- Topics: linux, testing, vpn, wireguard, zig
- Language: Zig
- Homepage:
- Size: 70.3 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wireguard-zig
This project is experimental on the possibility to use zig (toolchain and language) with Wireguard VPN.
## Requirements
* [Zig v0.11 or master](https://ziglang.org/download)
* [Wireguard](https://www.wireguard.com)
## How to Run
See CI test
```bash
$> zig build
$> sudo zig-out/bin/wireguard-zig
info(wireguard): wg_test0 has public key +oQRkWKK/fdi5JoLah7R9JIPI6Hg1TsaPHA2DkGjSQw=
info(wireguard): - peer vEtCZE5RZDDZseZLXJaR6q7yVqRfb0/VjijDZpikWwY=
```
# More Information
WireGuard® was created and developed by Jason A. Donenfeld. "WireGuard" and the "WireGuard" logo are registered trademarks of Jason A. Donenfeld [@zx2c4]. See https://www.wireguard.com/ for more information
This project is not approved, sponsored or affiliated with WireGuard or with the community.
- The whitepaper https://www.wireguard.com/papers/wireguard.pdf
- The Wikipedia page https://en.wikipedia.org/wiki/WireGuard