# Switch from Tailscale Funnel to qURL

> Map Tailscale Funnel to qURL: tailscale funnel 3000 becomes qurl publish and qurl share. No tailnet, no public ts.net URL, and access that ends on its own.

Source: https://layerv.ai/guides/switch-from-tailscale-funnel/

---

[← All guides](https://layerv.ai/guides/) 

# Switch from Tailscale Funnel to qURL

## Why qURL here

Your app leaves the public internet: no ts.net address to find, and no open port. Each person gets their own invitation or one-time link, one-time links expire, and you can revoke a named invitation for one person without restarting anything.

[See how qURL compares to Tailscale Funnel →](https://layerv.ai/compare/qurl-vs-tailscale-funnel/)

Copies a prompt for any agent that runs commands. 

## What you need

- An HTTP app running on this machine that you shared with tailscale funnel, for example on port 3000
- The qURL CLI 4.0.0 or later

Content updated November 23, 2026.

## Steps

Replace tailscale funnel 3000 with `qurl publish http://127.0.0.1:3000 --name "App preview"`, then invite each person by email or run `qurl share <CRID>` for a one-time link. Funnel puts the app on the public internet at your ts.net name until you turn it off. qURL™ needs no tailnet or account, gives the app no public address, and lets you end one person’s access without touching anyone else’s.

1. ### Map your Funnel command  
Funnel needs a tailnet with MagicDNS, HTTPS certificates and the funnel node attribute, and it serves the app to anyone on the internet at machine-name.tailnet-name.ts.net, on port 443, 8443 or 10000, until you turn it off. `qurl publish` takes the same local address and gives the app no public hostname at all. `qurl share` makes a link for one recipient, and an email invitation lets a named person in with a passkey.  
```  
# Tailscale Funnel                              # qURL
tailscale funnel 3000                           # qurl publish http://127.0.0.1:3000 --name "App preview"
                                                # qurl share <CRID>   (one link per person)
tailscale funnel --bg 3000                      # qurl publish runs a background service by default
tailscale funnel --https=443 off                          # qurl stop <CRID>, or qurl delete <CRID>
```
2. ### Install the qURL CLI  
On macOS, install it with Homebrew. On Linux and Windows, download the package for your platform from the latest release; the CLI page lists each one. For commands with --name, qurl --version must print 4.0.0 or later. Update an older CLI before copying those commands. Nothing asks you to sign up.  
```  
brew install layervai/tap/qurl
brew upgrade qurl
qurl --version
```
3. ### Vite: allow qurl.site before sharing  
For a Vite app, add .qurl.site beside .ts.net in server.allowedHosts. Merge this setting into your existing config. Vite reloads config changes; restart it if needed before sharing. Skip this step for other dev servers.  
```  
// vite.config.js (merge into your existing config)
export default {
  server: { allowedHosts: ['.qurl.site'] },
}
```
4. ### Publish the app  
Use qurl 4.0.0 or later. Run `qurl publish` to make your app private and get its ID (CRID). No account needed. `qurl publish` connects to localhost as 127.0.0.1; if your app listens only on IPv6, publish 'http://\[::1\]:3000' instead.  
```  
qurl publish http://127.0.0.1:3000 --name "App preview"
```  
Published  
  Target:  http://127.0.0.1:3000  
  Access:  private — only you and the people you allow can open it  
  Status:  serving  
CRID: ae4jqpd7eaoslq7jinmjv4yikgzmcxgpjfsuobiniqnko32lpw743ivbeyha
5. ### Create a link for each person  
Run `qurl share <CRID>` to create a one-time access link. Check that the output says “single use”, then send it to someone you trust.  
```  
qurl share <CRID>
```
6. ### Send the link to one person  
Send it in a direct message, not a public channel: whoever opens it first uses it. Avoid email and apps that preview links, because a scanner that runs the page could use its one opening. Don’t open it yourself to check it, for the same reason. Run `qurl share` again whenever you need a fresh link.
7. ### Next.js: allow the recipient’s browser hostname  
For Next.js, replace a previous \*.ts.net allowedDevOrigins entry with the exact qURL browser hostname in QURL\_DEV\_ORIGIN\_HOST after the recipient opens their link and sends you its browser hostname. Do not open their single-use link yourself: they keep the page open while you restart next dev, then reload the same page. Never trust all qurl.site origins: that also trusts other publishers’ pages. Use the same exact hostname for Server Actions as described in the Next.js fix guide under Related Resources. Your app stays on this computer; nothing listens on your network. Skip this step for other dev servers.  
```  
// next.config.js
module.exports = {
  allowedDevOrigins:
    process.env.NODE_ENV === 'development' && process.env.QURL_DEV_ORIGIN_HOST
      ? [process.env.QURL_DEV_ORIGIN_HOST]
      : [],
}
```
8. ### Turn Funnel off  
Once everyone you share with has a qURL invitation or link, stop serving the app on the public internet. Turn off the HTTPS listener for this app. Use its configured port if it differs from 443.  
```  
tailscale funnel --https=443 off
```

## What the recipient sees

A one-time link opens your app in the recipient’s browser with no Tailscale install or tailnet to join.

A named invitee first verifies their email and saves a passkey. The one-time session lasts 1 hour by default; the app’s own login still applies, and your machine must stay awake with the app running.

## Troubleshooting

__Troubleshooting__
| If you see                                                       | Do this                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| A webhook sender, such as Stripe or GitHub, can’t reach the app  | Webhook senders call a fixed URL and never open a link, so give that one callback its own endpoint and keep the rest of the app private behind qURL. People and agents still reach the app through their link.                                                                                                                                                                                                                        |
| qurl publish says the local app is not accepting TCP connections | Start the app first and check that curl works on the same address. qurl publish connects to localhost as 127.0.0.1, so if your app listens only on IPv6 (on macOS or Linux, lsof -iTCP -sTCP:LISTEN -nP shows \[::1\]), publish 'http://\[::1\]:PORT' instead, or start the dev server with --host 127.0.0.1 and publish that address. Neither requires listening on your LAN. Keep the quotes: zsh treats the brackets as a pattern. |

__More troubleshooting__
| If you see                                                                                                                                      | Do this                                                                                                                                                                                                                                                                                                                       |
| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| The recipient sees “Access link invalid”                                                                                                        | The link was already used or has expired. Run qurl share again and send the new link.                                                                                                                                                                                                                                         |
| The recipient sees “Resource not found”                                                                                                         | The resource was deleted after the link was made. Publish the app again, then run qurl share and send the new link.                                                                                                                                                                                                           |
| publish rejects http://127.0.0.1 with “only HTTPS URLs are allowed”, asks you to log in, prints no Access: line, or says “unknown flag: --name” | Your qURL CLI is out of date. On macOS run brew update, then brew upgrade qurl; elsewhere install the latest release. After updating, qurl --version prints 4.0.0 or later, and every publish is private by default.                                                                                                          |
| publish says “a public name is required” in a script or agent run                                                                               | Add --name "App preview" to the publish command, replacing App preview with a short public name for your app. Recipients can see this name; keep secrets and client details out of it.                                                                                                                                        |
| publish says this Linux session “can’t reach a systemd user manager”                                                                            | You are in a container or sandbox without a user service manager. Run qurl publish with --foreground; sharing lasts as long as that process runs. [Container and CI setup →](https://layerv.ai/guides/share-from-a-container-or-ci/)                                                                                          |
| publish says “Quota Exceeded” with “protected resource limit reached”, or “Your qURL account has reached a plan limit”                          | You can see this without an account: a device with no account can keep up to 3 active resources, with links that last up to 24 hours. Run qurl list --status active, then qurl delete <CRID> for any you no longer need (it asks you to confirm; --yes skips that). qurl stop keeps the resource, so it does not free a slot. |

## Frequently Asked Questions

What do I gain over Funnel? 

Funnel serves the app to anyone on the internet who has the URL, with no link expiry and no per-person access, and Tailscale publishes machine names in Certificate Transparency logs when HTTPS is enabled. With qURL the app has no public address: each recipient gets an invitation or a link that opens once and expires within 24 hours, and you end one person’s access on its own.

Do my recipients need Tailscale? 

Not for Funnel, and not for qURL. Funnel traffic reaches the app from the public internet; a qURL recipient opens the invitation or link in any browser, with no client to install and no tailnet to join.

Do I need an account for qURL? 

No. Funnel needs a tailnet; the qURL CLI needs no account, and without one you can keep up to 3 active resources, with links that last up to 24 hours.

Does my computer have to stay on? 

Yes. Keep your computer awake, connected, and your app running.

Who else can reach my app while the link is open? 

Opening the link gives that browser access for 1 hour by default. Other browsers on the same public IP cannot use that session. Whoever opens the link first can use it. Scripts without a browser use IP-based access, which devices on the same public IP can share. Keep your app’s sign-in for sensitive data.

How do I stop sharing? 

Run qurl stop <CRID>. To resume, run qurl start <CRID>.

## Related Resources

[Guide: Give an external reviewer temporary access to localhost →](https://layerv.ai/guides/share-localhost-with-temporary-access-link/) [qURL vs Tailscale Funnel →](https://layerv.ai/compare/qurl-vs-tailscale-funnel/) [qURL vs Tailscale Serve →](https://layerv.ai/compare/qurl-vs-tailscale-serve/) [Tailscale alternatives →](https://layerv.ai/compare/tailscale-alternatives/) [Guide: Switch from ngrok →](https://layerv.ai/guides/switch-from-ngrok/) [Guide: Switch from localtunnel →](https://layerv.ai/guides/switch-from-localtunnel/) [Guide: Switch from a Cloudflare quick tunnel →](https://layerv.ai/guides/switch-from-cloudflare-quick-tunnel/) [Guide: Share localhost without signing up →](https://layerv.ai/guides/share-localhost-without-signup/) [Guide: Fix hot reload through a tunnel →](https://layerv.ai/guides/fix-hot-reload-through-a-tunnel/) [Tailscale docs: Funnel ↗](https://tailscale.com/kb/1223/funnel) [Tailscale docs: tailscale funnel command ↗](https://tailscale.com/kb/1311/tailscale-funnel)

## Publish your app now

Install the CLI, then run one command. No sign-up, no API key.

[Install the CLI →](https://layerv.ai/cli/)



---

*This markdown version is auto-generated from [https://layerv.ai/guides/switch-from-tailscale-funnel/](https://layerv.ai/guides/switch-from-tailscale-funnel/) for AI agents. Curated agent resources: [llms.txt](https://layerv.ai/llms.txt). For the full interactive experience, visit the HTML version.*

Site search: POST https://4f981608-057a-48bb-b205-a289823b32e4.search.ai.cloudflare.com/search with JSON `{"messages":[{"role":"user","content":"YOUR QUERY"}]}`. Results include public content and source URLs.

