Skip to Content

Linux server

Install Tiltas on a Linux server with one command and join it to your Network with a Join key.

A server joins your Network without a browser, with a Join key. One command installs Tiltas and joins it. The machine becomes a Server: it belongs to the Account, not to a person, and its sign-in does not expire.

Needs: a 64-bit Linux (x86_64 or arm64) with systemd, curl or wget, sha256sum, and sudo.

Install and join

In the console, open Join keys and choose Create Join key. Name it after the machine, such as “web-1”, and choose Create Join key. The key starts with qlj_ and is shown once.

Copy the command under Install and join and run it on the server:

Terminal
curl -fsSL https://tiltas.openpanel.sh/install.sh | sudo sh -s -- --join-key qlj_your_join_key

The installer needs root, so it runs under sudo; run without it, it stops and says so.

In the console, Devices lists the server as Online with its address, such as 100.64.0.7.

The server is private until you say who may reach it: add an Access rule for the whole machine, or a Service for one program on it.

What the installer does

  1. Picks the build for this CPU (amd64 or arm64), downloads it and checks it against the published SHA256SUMS.
  2. Installs tiltas and tiltasd into /usr/local/bin and the systemd unit tiltasd.service, with its settings in /etc/default/tiltasd. The state, with the Device's sign-in, is kept in /var/lib/tiltas.
  3. Enables and starts tiltasd, then prints the version it installed.
  4. With a Join key, joins the Network. The key goes to tiltas up in a file only root can read, never on another command line.

Without --join-key, it installs and stops there, saying what to run next:

Output
Run 'sudo tiltas up' to sign this Device in.

Options

Add options after sh -s --. Each has an environment variable too.

OptionVariableWhat it does
--join-key KEYTILTAS_JOIN_KEYJoins as a Server with this Join key. Without one, run sudo tiltas up later.
--name NAMETILTAS_NAMEThis Device's name in the Network (default: the host name). Lowercase letters, digits and hyphens, at most 63, such as web-1.
--client NAMETILTAS_CLIENTFor a desktop that signs in with another product's account: openpanel makes the next step sudo tiltas up --client openpanel.
--version VA specific version instead of the latest.
--base-url URLTILTAS_DOWNLOADWhere the builds and SHA256SUMS are downloaded from.
--panel URLTILTAS_PANELA Panel other than https://tiltas.openpanel.sh.
--uninstallSigns out, stops tiltasd, and removes Tiltas with its settings and state.

For example, to name the server:

Terminal
curl -fsSL https://tiltas.openpanel.sh/install.sh | sudo sh -s -- --join-key qlj_your_join_key --name web-1

Tiltas already installed

On a machine that already has Tiltas, join with tiltas up. To keep the key out of your shell history and the process list, put it in a file only root can read and pass file: and its path:

Terminal
sudo tiltas up --join-key file:/root/join-key

sudo tiltas up --join-key qlj_your_join_key works too, and so does the variable TILTAS_JOIN_KEY.

Check it

Terminal
sudo tiltas device
Output
Device ID  dev_738arbrsr2
Address    100.64.0.7
Name       web-1
Panel      https://tiltas.openpanel.sh

sudo tiltas device --json prints the same as one JSON object, for scripts. tiltas status lists this Device and the others it sees, one per line: address, name, owner (Servers show as tagged-devices), system and state.

The service's own log:

Terminal
journalctl -u tiltasd

Firewalls

On your router, nothing needs to be opened. Devices only make outgoing connections: to the Coordinator and the Relays on HTTPS port 443, and to a public STUN server to learn their public address.

On the server's own firewall, if it filters incoming traffic (for example ufw with its default deny), allow two things so other Devices can connect directly instead of through a Relay, and so traffic that arrives over Tiltas is let in:

Terminal
sudo ufw allow 41641/udp
sudo ufw allow in on tiltas0

41641 is the UDP port tiltasd listens on (PORT in /etc/default/tiltasd); tiltas0 is its network interface. Access rules still decide who may reach what.

If Tailscale also runs on this machine, both use addresses in 100.64.0.0/10: see Tiltas and Tailscale on one machine.

Share a LAN

A Linux server can give your other Devices the network behind it. See Subnet routers.

Update

Run the installer again, without a Join key:

Terminal
curl -fsSL https://tiltas.openpanel.sh/install.sh | sudo sh

It installs the latest version and restarts tiltasd. The Device keeps its sign-in in /var/lib/tiltas and reconnects by itself, so you need not run tiltas up again, whatever the installer prints at the end.

Sign out

Terminal
sudo tiltas logout
Output
Removed this Device from its Network.

It disconnects and removes the Device from your Network, as removing it in the console does. If the Panel cannot be reached, the Device is still signed out here and the command says so: then remove it in the console under Devices. Sign in again with sudo tiltas up --join-key ….

Uninstall

Terminal
curl -fsSL https://tiltas.openpanel.sh/install.sh | sudo sh -s -- --uninstall

It signs the Device out (the Panel removes it), stops and disables tiltasd, and removes tiltas, tiltasd, the unit, its settings and /var/lib/tiltas.

Output
Signed out.
Tiltas is uninstalled.

On this page

Ask AI about this page