Install the Tailscale client on a cloud VM over SSH and join it to your tailnet, so the machine can reach NAS and LAN devices behind your home network.
pks vm tailscale [VM_NAME]$ pks vm tailscalePick a VM and join it to your tailnet
$ pks vm tailscale my-vmJoin a named VM without the picker
A cloud VM cannot see your NAS or your LAN by default. pks vm tailscale starts the machine if needed, installs the Tailscale client over SSH, optionally enables IP forwarding, and runs tailscale up with the arguments from your stored configuration — leaving the box on your tailnet with both its public IP and its tailnet IP printed.
pks tailscale init if it is not, and aborts if that setup does not complete.pks vm start, so it inherits the vm.start gate when the machine needs starting.pks vm tailscale my-vm
| Argument | Required | Description |
|---|---|---|
VM_NAME | no | The VM to join to the tailnet. An interactive picker appears when omitted. |
tailscale up runs with the arguments built from your pks tailscale init configuration.Each remote step runs with its own timeout, between 20 seconds and 3 minutes. A step that times out aborts the whole command with a non-zero exit status. Failures in the IP-forwarding step are deliberately swallowed, so a sysctl hiccup does not block the join.
When the configuration advertises an exit node, the command reminds you that it still needs manual approval in the Tailscale admin console, under Machines and then the route settings for that machine. Running tailscale up does not activate it on its own.
The command prints both connection paths when it finishes. Confirm the tailnet route by connecting to the machine on its tailnet IP rather than its public IP.
| Symptom | Cause and fix |
|---|---|
The command chains into pks tailscale init and then stops | The Tailscale setup did not complete. Run pks tailscale init on its own and finish it, then retry. |
Pointer to pks vm add-ssh-key | No usable local private key for the machine. Adopt the key first. |
| A remote step times out | The machine is slow or unreachable mid-run. Confirm with pks vm status, then rerun. |
| Exit node advertised but traffic does not route | Approve the route in the Tailscale admin console. |
| An unexpected second-factor prompt | The machine was stopped, so the vm.start gate applied. |