I like reaching my server from my phone without opening a single port on the router. Tailscale already does that for the network. tailscale serve adds the part people usually reach for a reverse proxy for: a proper https:// address with a real certificate, for one app, on your devices only. Here is the short route, with the caveat I would read before clicking anything.
- Time
- 3 min
- Steps
- 3
- Updated
- 19 Nov 2026
You will learn
- The command
- Check it, and take it away again
- Where it goes wrong
What you need
A machine that already runs Tailscale (a Linux box, an Unraid server, a Mac) and an app listening on a local port. I will use port 3000 as the example. In the Tailscale admin console, open the DNS page, make sure MagicDNS is on, and under HTTPS Certificates choose Enable HTTPS. Tailscale’s own docs say that when you do this, your machine names and the tailnet DNS name end up on a public ledger (Certificate Transparency logs). The tailnet name hides who you are, but the machine name stays visible. So if your server is called something you would rather not publish, rename it first.
Step 1 of 3: The command
On the machine that runs the app:
tailscale serve --bg --https=443 3000
The app is now reachable at https://machine-name.tailnet-name.ts.net from any device on your tailnet. The Tailscale daemon terminates TLS with a certificate it provisions itself, so there is nothing to renew by hand. The --bg matters: according to the docs, without it Serve stops after a reboot or a tailscale down and tailscale up, and with it Serve comes back by itself. One limit from the same page: for proxying, only http://127.0.0.1 targets are supported, so the app has to listen on the same machine.
Step 2 of 3: Check it, and take it away again
tailscale serve status
That shows what is being served. To switch one entry off, repeat the original flags and add off:
tailscale serve --https=443 3000 off
And if you just want a clean slate, tailscale serve reset clears the whole Serve configuration. That one is safe for your apps, but it does remove every Serve entry on that machine, so run status first.
Step 3 of 3: Where it goes wrong
HTTPS only works with the full MagicDNS name, so https://machine-name fails where the long name works. Serve and Funnel changed their command line in Tailscale 1.52, so an old tutorial with different flags is probably written for an older client; check tailscale version. And keep Serve and Funnel apart in your head: Serve is for your tailnet, tailscale funnel is the one that puts something on the open internet. I would not use Funnel for anything I did not write myself.
For me this is the middle ground between plain http on an IP address and a full Nginx Proxy Manager setup. One app, one command, and my phone stops complaining about certificates. If I wanted a nice name for ten apps on one box, I would still look at a proxy. For the one dashboard I check every day, this is enough.
Further reading
- Tailscale docs: Tailscale Serve
- Tailscale docs: Enabling HTTPS
- On this site: Use your Unraid server as a Tailscale exit node, and know what the docs do not say
- On this site: Stop every device on your tailnet from reaching every container, with a tag, one grant and a test
- On this site: Manage your Unraid server from anywhere with Tailscale and no open ports
