> Documentation index: https://jetkvm.com/llms.txt

# Tailscale

> Reach JetKVM from anywhere on your tailnet, without the JetKVM cloud. Built into JetKVM Mini; installed with a script on JetKVM.

With Tailscale, you open JetKVM from any device on your tailnet, as if you were on the same local network. It doesn't use the JetKVM cloud.

## What you need

* [A Tailscale account: Free for personal use.](https://login.tailscale.com/start)

## Set up Tailscale

**JetKVM**

Tailscale supports JetKVM out of the box: its Linux release includes a JetKVM setup. An install script runs on your computer, copies Tailscale to JetKVM over SSH and runs that setup for you.

1. Turn on Developer Mode and add your SSH key to JetKVM: [Developer Mode](https://jetkvm.com/docs/advanced-usage/developing#developer-mode)
2. On your computer, in the terminal you used for the SSH key, run this with the IP address from JetKVM's front display in place of `<jetkvm_ip>`:  
```  
curl -fsSL https://jetkvm.com/install-tailscale.sh | sh -s -- <jetkvm_ip>  
```  
The script runs on macOS and Linux. On Windows, run it in [WSL](https://learn.microsoft.com/windows/wsl/install).
3. Type **y** to confirm. The script downloads the latest stable Tailscale, checks it, copies it to JetKVM and restarts JetKVM. The restart can take up to two minutes.
4. When JetKVM is back, the script prints a Tailscale sign-in link. Open it, add JetKVM to your tailnet, then open JetKVM's Tailscale address in your browser.

**Install script options.** Put options before the IP address, for example `sh -s -- -y 192.168.1.64`:

| Option        | What it does                                                                      |
| ------------- | --------------------------------------------------------------------------------- |
| \-v <version> | Install a specific Tailscale version instead of the latest stable one.            |
| \-y           | Skip the confirmation prompt.                                                     |
| \-c           | Delete existing Tailscale data first. JetKVM joins your tailnet as a new machine. |

**Headscale and other tailscale up flags.** Anything after a second `--` goes straight to [tailscale up](https://tailscale.com/docs/reference/tailscale-cli/up). For a self-hosted coordination server such as [Headscale](https://github.com/juanfont/headscale):

```
curl -fsSL https://jetkvm.com/install-tailscale.sh | sh -s -- <jetkvm_ip> -- --login-server=https://headscale.example.com
```

You can combine several flags:

```
curl -fsSL https://jetkvm.com/install-tailscale.sh | sh -s -- <jetkvm_ip> -- --login-server=https://headscale.example.com --advertise-tags=tag:kvm
```

**JetKVM Mini**

Tailscale is built into the Mini's firmware, so there's nothing to install. It's still experimental.

1. In the Mini's web interface, open **Settings**, then **Tailscale**.
2. Turn on **Enable Tailscale**.
3. Click **Open login page**, sign in and add the Mini to your tailnet.
4. When the status shows **Connected**, click **Open over Tailscale**, or open the Mini's Tailscale address from any device on your tailnet.

To connect without signing in from a browser, use an auth key from the Tailscale admin console instead. For a self-hosted coordination server such as [Headscale](https://github.com/juanfont/headscale), set **Control Server** to **Custom** under **Advanced**.