Getting Started with Tailscale: Secure Remote Access to Your Homelab
Learn how Tailscale makes it easy to securely access your homelab from anywhere without opening ports or configuring a traditional VPN.
One of the challenges of running a homelab is figuring out how to access everything when you're away from home. It's easy enough when you're sitting at your desk and everything is connected to the same network. But what happens when you're somewhere else and need to check on one of your servers? You could configure port forwarding on your router, but that introduces additional security concerns, especially when you're exposing administrative interfaces.
I've got quite a few services running on my own network, and the idea of making them publicly accessible just so I can check on something remotely doesn't sit particularly well with me. Fortunately, there's a much simpler approach, and it's called Tailscale.
What is Tailscale? #
Tailscale is a VPN service that creates a secure, private network between your devices, regardless of where they're physically located. It uses WireGuard encryption to protect your connections while handling much of the complicated networking configuration behind the scenes. Unlike setting up a traditional VPN server, you generally don't need to worry about configuring your router or opening ports.
The private network Tailscale creates is called a tailnet. Every device you connect receives its own Tailscale IP address, allowing it to communicate securely with other authorized devices on that network. Tailscale attempts to establish direct connections whenever possible, but it can also relay encrypted traffic when necessary. Most of this happens automatically without requiring much networking knowledge.
Why use Tailscale for your homelab? #
Let's say you're running Proxmox on a server at home. Normally, you'd access its web interface using a local address such as 192.168.1.50:8006. That works perfectly fine while you're connected to your home network, but the moment you leave, that address becomes inaccessible. With Tailscale installed on your Proxmox host, you can reach that same dashboard remotely using its assigned Tailscale IP address, assuming the firewall permits the connection.
This is particularly useful for people who manage their homelabs while traveling or occasionally need to troubleshoot something away from home. You can also use Tailscale to establish SSH connections to your Linux machines without exposing SSH to the public internet. For a personal homelab, Tailscale's free plan is generous enough to get started without spending anything.
Installing Tailscale #
Getting Tailscale up and running takes very little effort, even if you've never configured a VPN before. First, head over to tailscale.com and create a free account. Once registered, you'll have access to an administration dashboard where you can see your connected devices and manage your private network.
Next, install Tailscale on the machine you want to access remotely. For this example, we'll use a Linux server, although Tailscale also supports other operating systems. You can find the installation instructions in the official documentation.
After installing Tailscale on Linux, run the following command:
sudo tailscale up
You'll receive a link to authenticate your server through a browser. Once that's complete, you can check its assigned Tailscale IP address by running tailscale ip -4. Now install Tailscale on your phone, sign in with the same account, and enable the VPN connection. Both devices should appear in your Tailscale dashboard.
Testing your connection #
To see everything working, disconnect your phone from Wi-Fi and switch to mobile data. Make sure Tailscale is connected, then open your browser and enter your server's Tailscale IP address followed by the port of a web application running on it.
For example, a dashboard running on port 3000 might be accessible at http://100.x.y.z:3000. Replace that example with your server's actual Tailscale address. As long as the application accepts connections through that interface and the firewall allows it, the dashboard should load just as it would at home.
You've now accessed a service running inside your homelab without opening a public port on your router.
What's next? #
Tailscale has several other features worth exploring, particularly for people running multiple servers at home. One of the most useful is subnet routing, which lets you access other devices on your home network without installing Tailscale on each one.
In the next part of this series, we'll look at how subnet routing works and how to configure it for your homelab.

Comments 0
Join the conversation.
No comments yet. Be the first to comment.