---
title: "Rex Tailscale: What It Does and How to Pair a Server"
url: "https://goremy.ai/blog/articles/rex-tailscale"
author: Luis Chavez-Mattos
editor: Luis Chavez-Mattos
editor_title: Director, Product
published: "2026-12-02T22:00:28.049Z"
updated: "2026-12-02T22:00:28.049Z"
topic: AI Coding Tools
description: "Rex's built-in Tailscale lets a server join your tailnet as its own device, no Tailscale install needed. How pairing works and what it doesn't control."
---

# Rex Tailscale: What It Does and How to Pair a Server

> Rex's built-in Tailscale lets a server join your tailnet as its own device, no Tailscale install needed. How pairing works and what it doesn't control.

Edited by Luis Chavez-Mattos, Director, Product · Published 2026-12-02

## What does Rex's Tailscale integration do?

Rex's Tailscale integration lets the Rex server join your Tailscale network (your "tailnet") as its own device. This assumes Tailscale (the rex pkg) is installed and configured on the server. Once the server is on your tailnet, your other devices can reach it over Tailscale's private connection instead of through an open port on the internet. It makes remote access easier. It is not a way to reach the rest of your tailnet from inside Rex.

Rex is the terminal from Superlogical, the company of Mitchell Hashimoto (creator of Ghostty, Terraform and HashiCorp). A terminal is the text window where you type commands to a computer. Rex is built for both local and remote sessions, and its docs have a Server section with a Remote Access page covering SSH and built-in Tailscale.

## TL;DR

- Rex's **built-in Tailscale node** means the server appears on your tailnet as a separate device, so you do not install the Tailscale app on that server for this feature.
- You connect the server to your tailnet with the **`rex server tailscale pair`** command, then add the server to your Rex client.
- The integration is for **reaching the Rex server**. One user on Reddit expected it to act as a gateway into their whole tailnet and found it does not.
- Tailscale controls **who can reach the machine**. It does not control what a person or an AI agent can do once they are in a session.
- If you already use plain SSH, the Tailscale option is optional. One commenter on that thread said they ignored it and turned it off.
- The Rex docs have dedicated sections on Tailscale Serve, tailnet addresses, "Who Can Connect," plain HTTP and VPNs. Check them before you rely on the setup.

## Do I need Tailscale installed on the server?

No. That is the point of the built-in node. Normally, to put a machine on a tailnet, you install the Tailscale app on it and sign in. With Rex, the server runs its own Tailscale node inside the Rex server software. From Tailscale's side, it looks like any other device in your account, listed alongside your laptop and phone.

This is where the confusion comes from. People hear "Tailscale integration" and picture one of two things: Rex using the Tailscale app already on their computer, or Rex acting as a doorway into their network. It does neither. The server joins as a separate device with its own identity.

That separation has a practical benefit. The server's access to your tailnet is its own, not borrowed from whichever app or user happens to be signed in on that machine. You can see it, name it and remove it in your Tailscale admin console like any other device.

## Why does the server show up as its own device?

Because that is how Tailscale works. A tailnet is a private network of devices that you own or control, connected by encrypted links. Every member is a "node" with its own identity and its own private address. Access rules attach to those identities.

By giving the Rex server its own node, Rex lets Tailscale's normal rules apply to it. You decide which of your devices can talk to it, using the same tools you use for everything else on your tailnet. The docs section titled "Who Can Connect" covers this on the Rex side, so read it for the specifics of how Rex decides who gets in.

## How do I pair a machine with rex server tailscale pair?

The command is `rex server tailscale pair`. I only have the docs' table of contents and the command name, not the full walkthrough, so treat this as the general shape and confirm the details in the Rex Remote Access docs and the CLI reference.

1. **Get the Rex server running** on the machine you want to reach. The docs have install guides for Linux, FreeBSD and Windows.
2. **Have a Tailscale account** you control, since the server has to join a tailnet.
3. **Run the pairing command** on the server:

```
rex server tailscale pair
```

4. **Follow the prompts.** Tailscale devices are normally approved by signing in or authorizing them against your account, so expect a step like that.
5. **Check your Tailscale admin console.** A new device for the Rex server should appear in the list. If it does not, pairing did not finish.
6. **Add the server to your Rex client.** The docs have an "Adding the Server to a Client" section for this.

If your company limits what you can install, note the difference. Reddit commenters discussed a case where Tailscale cannot be installed on a work Mac because of corporate controls. The built-in node sits on the server side, so it does not solve that for the machine you are typing on. Whether your Rex client can connect without the Tailscale app is a question for the client docs, and I would not assume the answer.

## Is it a gateway into my whole tailnet?

No, and this is the most common misunderstanding. In the Reddit thread, one user asked what the integration is for. They had hoped Rex would let them reach other devices on their tailnet without running Tailscale on their Mac. What they found was that it adds the Rex server to the tailnet so they can connect to it remotely, without managing SSH credentials by hand.

Treat that as one user's reading, not official documentation. But it matches the shape of the feature: the server joins the network so you can reach the server. It does not turn Rex into a bridge to your NAS, your home lab or your office machines.

## How is this different from SSH?

SSH is the long-standing way to open a terminal session on another computer. You need the machine's address, an open path to it and a credential such as a password or key. The Rex docs list SSH as its own remote access option next to built-in Tailscale.

| | SSH | Built-in Tailscale |
|---|---|---|
| What it does | Opens a remote session using your own keys and addresses | Puts the Rex server on your private tailnet |
| What you manage | Credentials and network exposure | Tailscale account and device approval |
| Good fit | You already have SSH set up and working | You already use Tailscale, or want to avoid exposing the server |

Neither is the single right choice. A Reddit commenter noted that SSH remote host support was added to the Mac and iOS clients fairly recently, and that since then they had skipped the Tailscale setup. If SSH already works for you, you are not missing anything.

## What does Tailscale not control?

This is the part most "rex tailscale" explainers skip. Tailscale answers one question: can this device reach that machine? It does not answer a second one: what can they do once they are in?

A terminal session is powerful by design. Whoever (or whatever) is in the session can run commands with the permissions of the account behind it. That includes an AI coding agent. Rex's docs have an Agents page and a Server API section under Automate, which fits a wider pattern: terminals are now places where software acts on your behalf, not only where you type.

So being on the tailnet is the front door, not the whole security model. Some habits that follow from this:

- **Use a low-privilege account** for sessions you expect to share or hand to an agent, not your most powerful one.
- **Keep the device list short.** Remove old laptops and phones from your tailnet and from the server's allowed list.
- **Read "Who Can Connect"** in the Rex docs, and check whether you can restrict access further on the Tailscale side with its access rules.
- **Do not put secrets in reach** of a session unless you would be comfortable with anyone who can open that session seeing them.
- **Watch what agents run.** If an agent can reach a session, it can do what the account can do.

## What does this mean for you?

If you are a developer or IT-adjacent person who already uses Tailscale, the built-in node saves you an install and keeps the server's access tidy. Pair it, confirm it in your admin console, and move on.

If you are a manager or team lead, the useful takeaway is the separation: network access and permissions are different layers. Ask who can reach your servers, and separately ask what an account can do once someone is connected. The second question matters more as AI agents start running commands.

If you are not technical, you probably do not need to set this up yourself. But if a colleague says "the server is on our tailnet," you now know what that means: it is a private, approved connection, not an open door to everything.

## Could a small internal tool help track who has access?

Once several servers and people are involved, the weak point becomes bookkeeping: who asked for access, who approved it, which devices are paired. A spreadsheet works until it goes stale. With [Remy](https://goremy.ai), you can describe an access request form with an approval step, a register of servers and their owners, and a review date for each entry, and it builds and deploys it as a full-stack app with sign-in and roles. It does not connect to Tailscale on your behalf, so the register is a record you keep up to date, but you own it instead of paying for another subscription.

## Frequently Asked Questions

### Do I need to install the Tailscale app on the Rex server?

No. Rex has a built-in Tailscale node, so the server joins your tailnet as its own device. You still need a Tailscale account, and you pair the server using `rex server tailscale pair`.

### Does Rex give me access to my other Tailscale devices?

Not as far as the available sources show. A Reddit user hoped Rex would work as a gateway into their tailnet and found the integration is about adding the Rex server to the tailnet so you can reach it remotely. Check the Rex Remote Access docs for the current behavior.

### Can I skip Tailscale and just use SSH?

Yes. The Rex docs list SSH as a separate remote access option, and one Reddit commenter said they disabled the Tailscale configuration after SSH remote host support arrived in the Mac and iOS clients.

### Does Tailscale stop an AI agent from running risky commands?

No. Tailscale controls which devices can reach the server. It does not limit what a session can do after someone or something connects. Use limited accounts and review what agents are allowed to run.

### Where are the exact setup steps?

In the Remote Access page of the Rex docs, which has sections on built-in Tailscale, Tailscale Serve, the tailnet address, who can connect and adding the server to a client. The CLI reference lists the pairing command.
