Expiring Browser Guest Links over Tailscale Funnel
Open one HTTP proxy app for a finite browser visit, with a mandatory guest gate and optional PIN.
Last updated on
Tailscale Funnel publishes a public URL for an app. A TSLink guest link adds a required deadline, a mandatory bearer gate and an optional PIN: the guest opens one HTTP app in a browser without installing Tailscale or creating a Tailscale account. It remains a public, forwardable link that does not prove identity. Files, folders and raw TCP are never public through TSLink. The owner needs a running, enrolled node, Tailscale HTTPS and Funnel permission.
Scenario guides: Share one HTML report privately, with an end date · Send a Mac download link that expires in 3 days · Let someone upload big files to my Mac · Collect event photos from guests.
Create and send a link
Register the private app, finish any browser sign-in it prints, then create the link:
tslink add photos --proxy localhost:3000
tslink guest create photos --for 3d --label "Family visit" --public --print-link --jsonThis needs TSLink v0.4.0 or later. New installations route every app through the home gateway, and guest-gated apps cannot be gateway routes (portal), so the first guest link takes the app off the gateway in the same write that saves the grant and says so (removed_gateway_route). It does that only when the owner and admins are the only users of the route and the app's own node is running with an exact URL. When people grants (including an admin who reaches TSLink only through the gateway, such as a device-invited guest or a holder of a gateway invite), allow-list entries or a cross-origin route depend on the route, it refuses with portal_route_guest_refused, changes nothing and names the next command. The removal proves only that the app's node runs on the tailnet, not that Funnel will come up: the node restarts with its public listener, and if the tailnet does not permit Funnel or HTTPS the app has neither route nor node until it does. After the first link, check tslink status and tslink doctor (guest_funnel_unavailable). A portal-only app has no other address and must be re-added without --portal-only first. In v0.3.1 and earlier, run tslink portal route remove photos before the first guest create.
--for is required. --public acknowledges the public edge when first enabling the gate. Creation saves configuration; the daemon watcher applies it. Check status and doctor for actual Funnel availability. It does not install a daemon or enroll a node.
--print-link explicitly reveals the bearer URL once. Without it, link is null; list/show cannot recover the token. An exact current URL is required before disclosure and mutation: with a running daemon, creation waits up to 8 seconds for it, which covers the node restart the first link causes. A node that still needs browser sign-in fails at once with enrollment_required; url_not_ready means nothing was saved, so wait with tslink url photos --wait=30s and run the create again. A second link works while the gate is up; in v0.3.1 and earlier it failed with url_not_ready. Store or send the link privately. Add --pin to read a 6–64 digit PIN from hidden terminal input or stdin, then send that PIN separately. Never put it in shell arguments. MCP guest_create accepts a secret pin; avoid logging its request.
The finite lifetime has a 1h minimum and a default 7d maximum; the owner can configure that maximum. never is refused. See durations.
What the recipient sees
Open the sender's original link in a browser; no Tailscale installation or Tailscale account is required. Without a PIN, a valid link establishes a session and redirects to the app's root. With a PIN, enter the separately supplied PIN in the form to continue. docs/guest-links.md
A wrong PIN shows a generic retry message. Invalid, expired and revoked links show the same unavailable page (HTTP 401), without naming the app; it asks the visitor to reopen the original link or contact its sender. The link and PIN can be forwarded and do not prove who visited. docs/guest-links.md
Inspect and revoke
tslink guest list --json
tslink guest show <id> --json
tslink guest revoke <id> --json
tslink access log --app photos --since 24h --jsonCounters are local estimates and a crash may lose unflushed usage. Access history is bounded and can have gaps.
What revocation does and doesn't do
Revocation is permanent for that grant ID; the sender creates a new grant to reissue access, on the same app. tslink remove revokes all of the app's grants in the same write, so an app added later under the same name cannot bring them back. Revocation and the grant's own deadline cancel tracked requests and close streams, including SSE and WebSocket, even if another grant keeps the shared Funnel listener active. A bounded request authorized before the revocation commit may still finish. docs/guest-links.md
The public gate remains mandatory after every grant expires or is revoked. Private visits to the same app still use independent people/allow checks; a guest session does not authorize a tailnet caller. docs/guest-links.md
Choose the right audience
A link or PIN can be forwarded. A label is an owner's note, not proof of the visitor's identity. Public guests receive no Tailscale user identity headers. Keep the app's own authentication and authorization where needed; there is no general OIDC sign-in tier.
File services and raw TCP cannot use guest grants. Private traffic to the same gated app still follows independent people/--allow rules; a guest session cannot bypass them. Gated apps are owner/admin inventory in the private portal and cannot receive access requests.
An existing open Funnel must be returned to a private listener before enabling a guest gate. Preserve the full app configuration when replacing it. Guest mode is sticky: add on a guest-gated app is refused. Change its request limits in place with tslink limits set photos --max-request-body 4GiB; that restarts the app's node, so guests reopen their link and uploads in flight are cut. Follow the TSLink migration guide before changing publication mode.
Guest links go through Funnel, which is not a bulk transfer path: on 2026-11-11 one upload stream through Funnel measured about 0.65 to 1.5 MB/s on one host, against about 35 MB/s over the tailnet. For very large transfers use people grants on a separate app.
Related: People sharing · MCP roles · Public Funnel.
For a named person outside your tailnet who can install Tailscale, use gateway mode: one portal-node share for routed private apps, with people grants and deadlines. Register a separate app name for that: while its guest gate is up an app cannot take new people grants (people_service_unsupported) or a gateway route. People grants given before the gate keep working on the private tailnet listener.
Sources: TSLink guest-links.md
Share Jellyfin and Immich
Share existing media apps over Tailscale, grant a person access until a deadline, or send a public browser guest link.
Receive large files
Receive files from a person without a Tailscale account: copyparty's resumable upload page behind a TSLink guest link that expires. Measured speed, limits and cleanup.