Turn it on and pair
1
Install Tailscale
Install Tailscale on the machine running Rakumux and on your phone, signed in to the same
tailnet.
2
Turn on phone access
3
Pair the app
rakumux remote on prints the URL, the pairing token, a rakumux://connect link and, on a
terminal, a QR code. Scan the QR code with the app, or tap the link on the phone. Show them again
any time:Manage it
Security
- Where it listens. Only on the machine’s Tailscale addresses, never on your local network or the internet. Addresses that merely look like Tailscale’s (some ISPs and VPNs use the same range) are never used.
- Who gets in. Every request needs the pairing token. A paired phone acts as you: it can do what the UI does, including typing into any session.
- Keep the token secret. Anyone on your tailnet with it can run commands as you. If a phone is
lost, run
rakumux remote token --rotate: the old token stops working at once. - Encryption. Traffic over Tailscale is encrypted by WireGuard, so plain
http://to a Tailscale address stays private to your tailnet.
HTTPS with tailscale serve
For a real certificate (https://<machine>.<tailnet>.ts.net), let Tailscale terminate TLS. Enable
HTTPS certificates for your tailnet in the Tailscale admin console first, then:
https://<machine>.<tailnet>.ts.net and the same token in the app. If tailscale serve
refuses a Tailscale IP as its target, bind the remote listener on loopback instead: add
"listen": ["127.0.0.1:7337"] to ~/.rakumux/remote.json, run rakumux remote on, and proxy
http://127.0.0.1:7337. tailscale serve reset undoes it.
The technical details (how the remote listener differs from the local API, remote.json) are in
the API reference.