{"repo":"aramperes/onetun","free":true,"listed":false,"github":"https://github.com/aramperes/onetun","clone":"git clone https://github.com/aramperes/onetun.git","description":"User space WireGuard port-forward in Rust","language":"Rust","stars":1042,"topics":["wireguard","wireguard-tunnel","smoltcp","boringtun"],"license":"MIT","category":"networking-infra","readme_excerpt":"onetun A cross-platform, user-space WireGuard port-forwarder that requires no root-access or system network configurations . Use-case Access TCP or UDP services running on your WireGuard network, from devices that don't have WireGuard installed. For example, - Personal or shared computers where you can't install WireGuard (root) - IoT and mobile devices - Root-less containers Download onetun is available to install from crates.io with Rust ≥1.80.0: You can also download the binary for Windows, macOS (Apple Silicon), and Linux (amd64, arm64) from the Releases page. You can also run onetun using Docker: You can also build onetun locally, using Rust ≥1.80.0: Usage onetun opens a TCP or UDP port on your local system, from which traffic is forwarded to a port on a peer in your WireGuard network. It requires no changes to your operating system's network interfaces: you don't need to have root access, or install any WireGuard tool on your local system for it to work. The only prerequisite is to register a peer IP and public key on the remote WireGuard endpoint; those are necessary for the WireGuard endpoint to trust the onetun peer and for packets to be routed. Note: you can use environment variables for all of these flags. Use onetun --help for details. Example Suppose your WireGuard endpoint has the following configuration, and is accessible from 140.30.3.182:51820 : We want to access a web server on the friendly peer ( 192.168.4.2 ) on port 8080 . We can use onetun to open a loca","default_branch":null,"files":null,"tree":[],"storefront":"/r/aramperes","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aramperes/onetun/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."}