Sooner or later every homelab owner wants to reach their server from outside the house. You’re at work and want to check an app, or travelling and need to restart a container. The tempting answer is to open a port on your router. It works, but it also puts your server in front of the whole internet, and that is exactly what a beginner homelab shouldn’t do.
Tailscale gives you a safer route. This guide explains how to use Tailscale for homelab remote access without port forwarding, from creating an account to reaching your whole home network from your phone. It builds on our home network basics for homelab beginners, so if terms like IP address and subnet are new, read that first.
Why not just forward a port?
Port forwarding makes a service on your home network reachable by anyone who finds your public address. Automated scanners look for open ports all day, so an exposed login page gets probed quickly. One missed update or weak password is then a real problem. Many home connections also sit behind carrier-grade NAT, which means you can’t forward ports at all.
A private network avoids both issues. Your devices connect to each other through an encrypted tunnel, and nothing on your router is open to the public.
What Tailscale is, in plain words
Tailscale builds a private network, which it calls a tailnet, between your own devices. You install the Tailscale app on each one and sign in with the same account. Every device then gets a private Tailscale address, usually starting with 100., and the devices can reach each other wherever they are. Connections are encrypted, and Tailscale is built on the WireGuard protocol. The devices normally connect directly to each other, and Tailscale only helps them find one another.
You can use it from a phone on mobile data or a laptop in a hotel, and it behaves as if you were sitting at home.
How it compares with other options
| Option | Best for | Trade-off |
|---|---|---|
| Tailscale | Reaching your own services from your own devices | Easiest to set up, but it relies on Tailscale’s service for sign-in and coordination |
| Cloudflare Tunnel | Sharing a service with other people through a normal web address | Your traffic goes through Cloudflare, and it needs a domain name |
| Self-hosted WireGuard | People who want full control of their own VPN | More setup, and it needs one UDP port opened on your router |
For a beginner who only wants private access for themselves, Tailscale is the simplest place to start. Free plan limits change, so check Tailscale’s pricing page for the current numbers before you rely on them.
What you need
- A Linux mini PC that’s always on. Our mini PC homelab guide for beginners explains how to choose one.
- An account you can sign in with, such as an existing Google, Microsoft, or GitHub account.
- A phone or laptop to connect from.
Step 1: Install Tailscale on the mini PC
Tailscale’s Linux install page offers a one-line install script that supports Ubuntu, Debian, Fedora, Raspberry Pi OS, and many other distributions:
curl -fsSL https://tailscale.com/install.sh | shPiping a script into your shell means you trust the source, so it’s worth reading the official Linux install page and the script itself first. The page also lists manual package steps if you prefer them.
Step 2: Sign the mini PC in
sudo tailscale upThis prints a web address. Open it on any device, sign in, and approve the connection. The mini PC then appears on the Machines page of the Tailscale admin console. To see its Tailscale address, run:
tailscale ip -4Step 3: Install it on your phone or laptop
Install the Tailscale app on your other devices and sign in with the same account. Each one joins your tailnet and gets its own address.
Step 4: Test it from outside the house
Switch your phone to mobile data, turn Tailscale on, and try one of these:
- SSH to the server:
ssh your-user@100.x.y.z, using the address from the previous step. - Open an app in the browser, for example
http://100.x.y.z:3001if you ran the Uptime Kuma example from our Docker Compose tutorial for beginners.
If your tailnet has MagicDNS turned on, you can often use the machine’s name in place of the number, which is easier to remember.
Step 5: Stop the server’s key expiring
Tailscale devices sign in with a key that expires after a set time, and an expired key disconnects the device. Phones and laptops can just sign in again, but a server in a cupboard cannot. In the admin console, open the server’s menu on the Machines page and choose to disable key expiry. Do this only for machines you physically control.
Optional: reach your whole home network
The steps above let you reach the mini PC itself. If you also want to reach other devices that can’t run Tailscale, like a printer, a NAS, or your router’s page, you can make the mini PC a subnet router. It then acts as a gateway into your home network.
First, allow the mini PC to forward traffic. Tailscale’s documentation gives these commands for Linux:
echo 'net.ipv4.ip_forward = 1' | sudo tee -a /etc/sysctl.d/99-tailscale.conf
echo 'net.ipv6.conf.all.forwarding = 1' | sudo tee -a /etc/sysctl.d/99-tailscale.conf
sudo sysctl -p /etc/sysctl.d/99-tailscale.confNext, tell Tailscale which subnet to share. Replace the example with your own network, such as the 192.168.1.0/24 style range explained in our network basics guide:
sudo tailscale set --advertise-routes=192.168.1.0/24Then open the Machines page in the admin console, find the mini PC, and approve the route under its Subnets section. Your access rules must also allow the subnet. Linux devices need sudo tailscale set --accept-routes to use these routes, while other platforms pick them up automatically. The full steps are in Tailscale’s subnet routers documentation.
Be aware that this makes your whole home network reachable from every device on your tailnet, so only sign in with devices you trust.
Safety habits that matter
- Turn on two-step verification for the account you use to sign in, since that account is the key to your tailnet.
- Remove old devices from the admin console when you sell or lose them.
- Don’t expose services publicly by accident. Tailscale has a feature called Funnel that makes a service reachable from the open internet. You don’t need it for private access, so leave it off.
- Keep everything updated, including the Tailscale client on the mini PC.
- Keep backups. A private network lowers risk but doesn’t remove it. Our homelab backup strategy for beginners shows a simple plan.
Troubleshooting common problems
The mini PC shows as offline
Check that it’s powered on and connected to your network, then run tailscale status on it. If the login has expired, run sudo tailscale up again, and disable key expiry for next time.
I can reach the mini PC but not other devices at home
You probably haven’t set up the subnet router, or you haven’t approved the route in the admin console. Also check that IP forwarding is enabled and your access rules allow the subnet.
The connection works at home but not away
Make sure the Tailscale app is switched on, and that you’re signed in to the same account. Some other VPN apps conflict with Tailscale, so turn them off to test.
The app loads at home but not through Tailscale
Check which port the app uses and whether the server’s firewall allows connections from the Tailscale network.
Frequently asked questions
Is Tailscale free for home use?
Tailscale offers a free personal plan. Limits on users and devices can change, so check the official pricing page.
Do I have to open any ports on my router?
No. That’s the main reason to use it. Your devices connect outward, so your router stays closed.
Is it safer than port forwarding?
For a beginner, generally yes, because nothing is exposed to the public internet. It still depends on a strong account password, two-step verification, and keeping your devices updated.
Can I use it with Pi-hole?
Yes. Tailscale lets you set custom DNS servers for your tailnet, so your devices can use your Pi-hole while you’re away. Our guide to running Pi-hole on a mini PC with Docker Compose covers the first half.
Wrapping up
Tailscale lets you reach your homelab from anywhere without opening a single port. Install it on the mini PC, sign in, add your phone or laptop, and test from mobile data. Disable key expiry on the server, protect your account with two-step verification, and only add a subnet router if you really need it. It’s one of the best upgrades you can make to a beginner homelab.