{"repo":"cloudflare/boringtun","free":true,"listed":false,"github":"https://github.com/cloudflare/boringtun","clone":"git clone https://github.com/cloudflare/boringtun.git","description":"Userspace WireGuard® Implementation in Rust","language":"Rust","stars":7175,"topics":["wireguard","rust","cloudflare"],"license":"BSD-3-Clause","category":"networking-infra","readme_excerpt":"BoringTun Warning Boringtun is currently undergoing a restructuring. You should probably not rely on or link to the master branch right now. Instead you should use the crates.io page. - boringtun: - boringtun-cli BoringTun is an implementation of the WireGuard ® protocol designed for portability and speed. BoringTun is successfully deployed on millions of iOS and Android consumer devices as well as thousands of Cloudflare Linux servers. The project consists of two parts: The executable boringtun-cli , a userspace WireGuard implementation for Linux and macOS. The library boringtun that can be used to implement fast and efficient WireGuard client apps on various platforms, including iOS and Android. It implements the underlying WireGuard protocol, without the network or tunnel stacks, those can be implemented in a platform idiomatic way. Installation You can install this project using cargo : Building - Library only: cargo build --lib --no-default-features --release [--target $(TARGET TRIPLE)] - Executable: cargo build --bin boringtun-cli --release [--target $(TARGET TRIPLE)] By default the executable is placed in the ./target/release folder. You can copy it to a desired location manually, or install it using cargo install --bin boringtun --path . . Running As per the specification, to start a tunnel use: boringtun-cli [-f/--foreground] INTERFACE-NAME The tunnel can then be configured using wg, as a regular WireGuard tunnel, or any other tool. It is also possible to use with wg","default_branch":null,"files":null,"tree":[],"storefront":"/r/cloudflare","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cloudflare/boringtun/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}