TSLink, TSDproxy, tsnsrv and Other Sharing Tools
Compare owners, recipients, identity, expiry, revocation, local app management and costs, including when TSDproxy, tsnsrv, Tailscale or a public tunnel fits better.
Last updated on
Use Serve for private access through an existing device, Services for a stable service address across hosts, and Funnel or a public tunnel for an internet endpoint. Consider TSLink when managing several apps on one host, named people's deadlines or finite browser guest links is the work you want to simplify. Start with the short decision guide if you already know your scenario.
Choose TSDproxy when Docker labels should publish containers and withdraw them when they stop, and tsnsrv for one explicit proxy per service, including path-limited Funnel. See which workflow fits.
This is a documentation-based comparison, not a performance, price or security benchmark. Tailscale and tunnel documentation was accessed on 2026-10-18 UTC; TSLink claims below are pinned to v0.3.0. Recipient onboarding and live network behavior were not tested for this comparison.
This comparison was written by TSLink's author. TSLink is an independent project by anydoor7, not made or endorsed by Tailscale.
Owner, recipient and identity
Here, the owner is the person who runs the app and controls its publication. Every option still needs a working backend and an available host.
| Option | Who owns and configures it? | Who can open it? | Identity and access model |
|---|---|---|---|
| Tailscale Serve | Device operator; tailnet administrators control network policy | Permitted Tailscale clients, including recipients of an allowed device share | Private device address; tailnet policy controls reachability. HTTP proxy identity headers can identify users; tagged callers have no user identity headers. Keep app authentication. |
| Tailscale Services | Tailnet administrator defines the service; operators configure hosts with a tag-based identity (not user-authenticated devices), approved manually or by auto-approval policy | Tailnet clients permitted by service policy | A service name and TailVIP independent of the hosting device; policy targets the service. One or more hosts can serve it. |
| Tailscale Funnel | Device operator with Funnel permission | Internet clients, without installing Tailscale | Public endpoint; Funnel does not provide the visitor's Tailscale identity. Use application authentication when required. |
| TSDproxy | Operator configures Docker labels or a YAML list | Tailnet clients; optional public Funnel | Creates a tsnet machine for a labelled container, with its own name and HTTPS; supports multiple HTTP(S), TCP and UDP ports per container. |
| tsnsrv | Operator runs a named proxy invocation | Tailnet clients; optional public Funnel | Exposes an HTTP service under a tailnet name; adds Tailscale user and node identity headers (login, node, tags) for the backend unless -suppressWhois is set. |
| TSLink private sharing | App owner runs TSLink on the publishing host and enrolls its nodes | Permitted Tailscale clients; outsiders also need accepted device shares | New installations default to the home gateway and retain app nodes. Existing installations keep their mode. HTTP/file people grants bind access to the actual Tailscale login and selected apps. Without a people policy or HTTP allow list, ordinary tailnet policy governs access. |
| TSLink guest links | Same host owner, with HTTPS and Funnel permission | A browser holding a valid link and the PIN, if configured; no Tailscale account needed | Public Funnel with a mandatory bearer gate for one HTTP proxy app. The link/PIN is forwardable and does not identify a person. Private requests retain separate people/allow checks. |
| ngrok public endpoint | App owner configures a provider account and connector | Internet clients, subject to configured authentication | Provider-mediated public URL; use the selected provider controls and/or application login. This row describes its public endpoint use case. |
| Cloudflare Tunnel public application | App owner configures the provider and connector | Internet clients, subject to configured authentication | Provider-mediated publication; use configured access controls and/or application login. Cloudflare Tunnel also supports private networking. |
TSLink's released architecture and people model define those boundaries. Raw TCP has no HTTP people/allow enforcement; use tailnet policy and backend authentication.
What the recipient does
For private sharing, install and connect Tailscale, sign in with the granted login, accept any required invitations, then open the exact app URL. New installations default to the home gateway, so an outsider accepts one gateway share for routed apps. Existing installations keep their mode; non-routed apps still need their own shares. An invitation accepted with a different login does not satisfy the named person's grant. TSLink v0.3.0 people · Tailscale device sharing.
For a guest visit, open the original link and enter the PIN in the form if requested. Invalid, expired and revoked links show the same generic unavailable page. Keep the app's own login where needed; browser access does not establish native-client compatibility. TSLink v0.3.0 guest links.
Default expiry and revocation
A publication's lifetime, a person's permission and a device's enrollment are separate. A running endpoint does not imply that every visitor has access.
| Option | Default expiry / deadline | How access ends |
|---|---|---|
| Tailscale Serve | No per-recipient deadline in the documented Serve workflow. Foreground serving ends with the session; background configuration can persist. | Disable the endpoint, or remove the relevant network permissions/device share. |
| Tailscale Services | No per-recipient deadline in the documented Services workflow; arrange time-bound policy separately. | Change service access policy or withdraw host endpoints. Draining stops new connections while existing ones finish. |
| Tailscale Funnel | No deadline flag in the documented Funnel CLI; persistent background publication needs explicit shutdown. | Disable the public endpoint; revoke individual users in the app's authentication layer. |
| TSDproxy | The README does not establish a per-person expiry default. | Container stop removes its machine and routes; a proxy can also be paused through the REST API. Plan recipient revocation separately. |
| tsnsrv | The README does not establish a per-person expiry default. | Plan recipient revocation separately; public path restrictions use -prefix. |
| TSLink private sharing | New people grants default to 24h. Members and device-invited guests can receive permanent grants with acknowledgement. add --allow and invite device keep permanent defaults. Finite guest grants retain the configurable 7d default maximum. This is not an automatic expiry of all private apps. | People expiry/revocation denies new HTTP/file requests. Accepted streams may finish; accepted network shares require separate management. |
| TSLink guest links | A finite deadline is required: minimum 1h, default maximum 7d, owner configurable. The maximum is not a default link lifetime. | Individual link revoke/expiry cancels tracked requests and streams. An already authorized bounded request may finish. Reissue with a new grant. |
| ngrok public endpoint | Depends on the chosen endpoint, access policy and plan; verify its lifecycle before publishing. | Disable publication or revoke access through the configured provider/app controls. |
| Cloudflare Tunnel public application | Depends on the chosen publication and access policy; verify its lifecycle before publishing. | Remove publication or revoke access through the configured provider/app controls. |
Sources: Serve CLI, Services lifecycle, Funnel CLI, TSLink v0.3.0 durations, people and guest links. Provider-specific defaults are outside this comparison.
Tailscale also supports just-in-time access through posture, automation and integrations. Temporary access is not unique to TSLink. Revocation cannot recall data a recipient already downloaded.
Local app lifecycle, automation and cost
| Option | Local multi-app lifecycle | Agent / CLI management | Costs to account for |
|---|---|---|---|
| Tailscale Serve | Routes existing services through a device name using ports/paths; run the apps separately | Tailscale CLI, including configuration and JSON status | Existing host, connectivity and applicable Tailscale plan |
| Tailscale Services | Stable service names with host approval, routing and draining across hosts; run the backends separately | Admin console, host CLI and Services API | Hosting for chosen hosts, connectivity and applicable Tailscale plan/features |
| Tailscale Funnel | Publishes existing resources; run the app and arrange its publication lifetime | Tailscale CLI and JSON status | Host, connectivity and Tailscale plan/usage constraints |
| TSDproxy | Watches labelled containers and creates/removes their machines; YAML list also covers non-Docker services; backend health probes and webhook notifications | Labels, live config reload, dashboard with access logs, REST API | MIT software; budget for the host and Tailscale resources |
| tsnsrv | Named proxy invocations for existing services | Command-line flags | Budget for the host and Tailscale resources |
| TSLink private sharing | One registry and shared daemon per host; home gateway plus app nodes for new installations, hot reload, health checks and bounded access history | Versioned JSON CLI and scoped MCP; human node enrollment may still be needed | Apache-2.0 software; host, connectivity and Tailscale user/device/resource allowances remain separate |
| TSLink guest links | Adds individual guest grants to an existing HTTP proxy app; host and daemon must stay available | Owner CLI / owner-role MCP for guest mutations | Same software/host costs, plus applicable Tailscale/Funnel constraints |
| ngrok public endpoint | Connector/publication management; backend operation remains the owner's responsibility | Provider CLI/API/configuration as applicable | Check the chosen plan's endpoint, authentication, domain and traffic terms; host cost remains |
| Cloudflare Tunnel public application | Connector/publication management; backend operation remains the owner's responsibility | Provider CLI/API/configuration as applicable | Check the chosen plan's access, domain and traffic terms; host cost remains |
For current plan terms, consult Tailscale pricing and the relevant provider. An owner running several app nodes, an invited Tailscale user and a browser guest have different account and resource requirements; do not equate an open-source license with zero operating cost. No cost ranking is established here.
TSLink sources: v0.3.0 architecture, JSON automation, MCP scopes and license. MCP roles constrain that interface, not the agent's shell. TSLink manages the sharing layer; it does not install backend apps, isolate their host processes or provide automatic cross-host inventory or failover. Health observations and bounded history are not a complete audit of every backend access path.
TSDproxy or tsnsrv for separate app names
TSDproxy is a Tailscale reverse proxy with Docker label discovery. Prefer it when container labels should drive service publication and cleanup. It also supports non-Docker targets through a YAML list, so Docker is not a requirement for every target. TSLink is driven by CLI/MCP commands against a per-host registry rather than container labels; its v0.3.0 README documents HTTP/file people deadlines and finite guest links. Choose TSDproxy when automatic container discovery is the deciding need, rather than choosing TSLink for names alone.
tsnsrv is a command-line HTTP reverse proxy on your tailnet. Prefer it when you want an explicit proxy invocation for a service, including a localhost or Unix-socket backend. Its Funnel examples can expose selected paths with -prefix. TSLink's documented workflow centers on managing several apps and their access grants in one registry. Choose tsnsrv when its named invocation and path selection cover the task and you do not need that management workflow.
These fit recommendations are the author's interpretation of the documented workflows, not comparative tests. Separate app names are shared ground, not a TSLink-only feature.
TSDproxy and tsnsrv rows use their READMEs pinned at the linked commits (TSDproxy, tsnsrv), fetched 2026-10-18 UTC. TSLink differences use the tagged v0.3.0 README and architecture.
Next: Choose a workflow · Quickstart · People sharing · Guest links · Several apps on one machine · Expiring download link · Why expiry is hard with http.server and a tunnel.