What is Tailscale and why it changed the way machines connect

Published on 2026-09-12 by frfrand

A serverless VPN through which traffic does not pass: how the mesh model over WireGuard works, what it solves that a classic VPN does not, and when it is not worth it.

What is Tailscale and why it changed the way machines connect

Short answer: Tailscale is a mesh VPN built on WireGuard: each machine receives a stable address within your private network and connects directly with the others, while a coordination server only distributes keys and helps traverse NAT. Traffic does not pass through a central server, unless a relay is needed.

A classic VPN has a central server through which all traffic passes. It works, and it has two problems that become noticeable as the team grows.

The first is latency: two machines in the same city send their packets to a server that may be on another continent, just to come back. The second is that this central server is a bottleneck and a single point of failure.

Tailscale attacks this with a different model.

The idea: control goes one way, data another

Tailscale builds a mesh network over WireGuard. Each machine you install gets its own address within your private network and connects directly with the others.

The coordination server exists, but it does not see your traffic. Its job is to distribute public keys and help two machines find each other. Once they have found each other, they talk directly.

That separation between control plane and data plane is the whole trick. The central service can go down and established connections keep working.

The difficult problem it solves

Two machines behind home routers cannot connect directly: neither accepts incoming connections. It is the same NAT we discussed when looking at IPv4.

Tailscale uses NAT traversal techniques: both machines start sending packets outward at the same time, coordinated by the central server, and take advantage of the fact that the router leaves the return path open for what it itself initiated.

It works on the vast majority of networks. When it doesn't work (some corporate NATs are especially hostile), there are relay servers that forward encrypted traffic. It is slower, but the connection does not drop. The user does not know which of the two paths they are using.

What feels different

You install the client on your laptop, on your server, and on a colleague's server. Each one receives a stable address.

From then on, that address works the same whether the machine is in the office, in a café, or in another country. It can be used in a configuration file, in a connection string, in a script. It does not change when the network changes.

That is what is hardest to achieve with a traditional VPN, and what is most appreciated in day-to-day use.

It also brings access control by rules: you define which machine can talk to which and on which port, in a file, in a single place, instead of replicating firewall rules on each server.

When it is not worth it

If you need to inspect traffic. Since it's peer-to-peer, there's no central point to look at. For some compliance requirements, that's a hindrance.

If you don't want to depend on an external service. The control plane is third-party. There's an open-source alternative (Headscale) that can be self-hosted, but then you have something to maintain again.

If all you need is to access a server. For that, SSH with keys is enough, and there's no need to add a layer.

How it's similar to what we do

The underlying idea is similar to ArduMaker's VPS tunnels: internal services can be reached from one machine to another without publishing them on the Internet, and access is defined in one place (authorized keys on the receiver) rather than replicated on every server.

The difference is scope. Tailscale is great for including laptops and people spread around the world. VPS-to-VPS tunnels solve the server-to-server segment, where constant traffic lives and where you don't want to depend on a third party. Both coexist well.

Using Tailscale and ArduMaker together

A practical case is accessing from your laptop to a private database hosted on a VPS. Tailscale can connect your authorized devices to a private network. If you plan to install it inside an ArduMaker VPS, which is an LXD container, check first that it works there; the alternative that does not depend on anything extra is an SSH tunnel (ssh -L) to the VPS. In either case, you do not have to publish PostgreSQL directly on the Internet for a developer to use it.

Before enabling access, define which users and teams can connect, which services are exposed within the private network, and how permissions are revoked. Encrypted traffic does not replace an access policy.

Related: How a VPN works · Connecting to PostgreSQL without exposing it.

Frequently Asked Questions

Does Tailscale see my traffic? The coordination server does not: it distributes keys and helps machines find each other. When a direct connection is not possible, a relay server forwards traffic, but end-to-end encrypted.

What happens if the coordination service goes down? Established connections keep working; what you cannot do is add machines or change keys until it comes back.

What is Headscale? An open-source implementation of the coordination server, to host yourself instead of relying on Tailscale's service.

Does Tailscale replace SSH? No. It gives you the network to reach the machine; to access a specific server, SSH with keys is still sufficient.

  • Tailscale
  • VPN
  • WireGuard
  • redes
  • acceso remoto

Keep reading

All articles · VPS plans