Tailcat(tailscale/tailcat)
tailcat 利用 Tailscale 的数据平面提供点对点的 WireGuard 加密隧道,用法类似 netcat,但去掉了控制平面。它适合在没有中央协调的情况下需要在隔离节点之间路由流量的工程师。
9.5k · Go
底层通过 magicsock 来处理 NAT 穿透和对端通信的旁路信道。对于那些管理着严格 NAT 背后、需要直连加密通道却又不想跑认证协调服务的临时节点维护者来说,正好能切中痛点。
README 摘录
<p align="center"> <img src="tailcat.png" alt="Tailcat" width="149" height="176"> </p> <p align="center"><em>"Tailscale without Tailscale, by Tailscale"</em></p> <p align="center"> <a href="https://pkg.go.dev/github.com/tailscale/tailcat"><img src="https://pkg.go.dev/badge/github.com/tailscale/tailcat.svg" alt="Go Reference"></a> <a href="https://bsky.app/profile/tailcat.dev"><img src="https://img.shields.io/badge/Bluesky-@tailcat.dev-0285FF?logo=bluesky&logoColor=white" alt="Follow @tailcat.dev on Bluesky"></a> </p> # Tailcat Tailcat is a remix of Tailscale open source pieces to act like [netcat](https://en.wikipedia.org/wiki/Netcat), but over Tailscale's data plane, without Tailscale's control plane. Tailscale's data plane (`magicsock`, internally) gives you point-to-point WireGuard®-encrypted tunnels between two machines with DERP as the NAT-hole-punching communication side channel and the ultimate relay-of-last-resort if NAT traversal fails. Instead of using the Tailscale control plane, all `tailcat` connection metadata is exchanged out of band, however you want. The `tailcat` CLI (in `cmd/tailcat`) is built on the `tailcat` Go library (importable as [`github.com/tailscale/tailcat`](https://pkg.go.dev/github.com/tailscale/tailcat)). Whether you use `tailcat` as a CLI tool or library, one side runs a `tailcat` server (listener) and gets back a short tailcat address. The other side passes that tailcat address to `tailcat`'s client side to connect. All traffic between the tw