iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🌐

Securing Remote Access to Your Home Server with Tailscale

に公開

When you build a home server, you naturally want to access it from outside your home. However, enabling external access to a home network comes with various hurdles on both the software and hardware sides, such as the complexity of port forwarding, DDNS configuration, security risks, and latency.
In this article, we will lower these barriers using a service called Tailscale.


What is Tailscale?

https://tailscale.com/kb/1151/what-is-tailscale
Tailscale officially describes itself as a mesh VPN service that safely streamlines the connection of devices and services across various networks.

https://tailscale.com/pricing?plan=personal
As of December 2025, the pricing for personal use is quite reasonable, and almost all Tailscale features are available even in the free Personal plan. With a limit of 100 devices and 3 users, it offers more than enough capacity for personal use.

Registration and Login

https://login.tailscale.com/
To use Tailscale, you need to register as a user. Start by registering and logging in from the URL above.

Installation

https://tailscale.com/download
As of December 2025, it supports macOS, iOS, Windows, Linux, and Android. By installing the app and logging in, you can connect multiple devices to the same VPN.

Machines

https://login.tailscale.com/admin/machines
You can check the IP address assigned to each device from the admin console. If you are using a device within the same VPN, you can achieve secure access to each device using the IP address displayed on this screen.

DNS

https://login.tailscale.com/admin/dns
You can find the DNS settings page in the admin console here.

Magic DNS

https://tailscale.com/kb/1081/magicdns
By clicking the Enable MagicDNS... button under the DNS/MagicDNS section in the admin console, you can enable MagicDNS. This allows you to access each device using an address in the format <device-name>.<tailnet-name>.ts.net in addition to its IP address.
If Magic DNS is enabled, you can also confirm this address on the Machines screen mentioned earlier.

HTTPS Certificates

https://tailscale.com/kb/1153/enabling-https
You can enable HTTPS Certificates for each device by clicking the Enable HTTPS... button in the DNS/HTTPS Certificates section of the admin console.

Making Content Hosted on a Home Server HTTPS

https://tailscale.com/kb/1242/tailscale-serve
While this is not effective for access via a local network (e.g., 192.168.0.10, etc.), you can use the serve command to make URLs accessible via Tailscale IP addresses or Magic DNS available over HTTPS.

For example, if you are hosting content on localhost:8080, running a command like the following:

tailscale serve --https=8080 8080

will allow you to access it using a URL such as https://<device-name>.<tailnet-name>.ts.net:8080.

Note that this command does not permanently enable the setting; it is only effective while the process is running.


That is all.
Tailscale has many other features, but if you grasp the scope covered in this article, you should be able to build a minimal, secure network.

Discussion