Networking

tailscale-rs and tailscaled-rs

Tailscale in Rust: an embeddable library and a daemon

tailscale-rs is a work-in-progress Tailscale library written in Rust. It gives your program TCP and UDP sockets on the tailnet, plus bindings for C, Elixir and Python. tailscaled-rs builds on it: it is a long-running daemon (tailnetd) with a thin CLI (tnet) that joins a tailnet and installs as a systemd or launchd service. Both are experimental and not affiliated with Tailscale Inc.

Repositories

  • tailscale-rsA work-in-progress Tailscale library in Rust, with C, Elixir and Python bindings. It is a fork of tailscale/tailscale-rs.
  • tailscaled-rsAn unofficial Rust system daemon (tailnetd) with a tnet CLI that joins a tailnet, built on the tailscale-rs engine.

Run it yourself

cargo add geiserx_tailscale --rename tailscale
TS_RS_EXPERIMENT=this_is_unstable_software cargo run

From the tailscale-rs README. Each repository README has the full setup.

More from the club