Features
Connections
How RDX decides two computers may connect, over Tailscale or on your local network.
RDX connects two computers one of two ways: through your own Tailscale network once you have granted access, or directly over your local network after a one-time pairing. Neither shows an approval prompt.
The two trust paths#
| Tailscale | Local network (LAN) | |
|---|---|---|
| Works across networks | Yes | No, same network only |
| What the viewer types | rdx join studio-mac | rdx join 192.0.2.20 |
| First connection | No code, once the device is granted access | One-time code, once |
| Later connections | No code | No code |
| Needs | Tailscale on both computers, signed in as the same user, and an RDX grant for the viewer | Both computers on the same private network |
You do not choose a mode. RDX uses the path that fits the target you give it.
Tailscale: your devices, by exception#
A host denies by default. With Tailscale, the host asks its own local Tailscale daemon who is actually connecting. It first requires that the device is:
- owned by the same Tailscale user as the host
- an untagged device (not a tagged server or service node)
- not expired and not shared in from another user
Tagged, shared, expired and unknown devices are refused. A name or address someone claims is never trusted on its own, and the same check runs on both ends.
Then the device must also hold the Tailscale application capability getrdx.io/cap/rdx toward the host. You create this grant in your Tailscale admin console. rdx host access snippet <device> prints the lines to add. It is the only way in over Tailscale: no setting on the host replaces it.
The capability alone never admits a device; the identity checks come first. A device that is refused is told so. While a session is open, the host checks again about every 10 seconds, and the session ends when the grant is removed.
What you need:
- Tailscale installed and signed in on both computers, as the same user
- A tailnet policy that allows the viewer to reach the host's RDX port (TCP 49379)
- A grant of
getrdx.io/cap/rdxtoward the host (see Grant access in Tailscale) - On a Windows host, "Allow incoming connections" turned on in Tailscale
Join with the host's Tailscale short name, its full MagicDNS name, or its Tailscale address:
rdx join studio-macSee Use RDX with Tailscale for the full setup.
On macOS and Windows you can turn the LAN side off with rdx host lan off. A running host then stops listening on your network and ends a session that joined over it, while Tailscale sessions go on.
LAN: discovery and pairing#
On a shared network, a host announces itself and the viewer can find it. The first time two computers connect this way, you enter a short code shown on the host. After that, the saved pairing connects with no code.
rdx join 192.0.2.20Announcements on the network are treated as hints only. A host is trusted because of the pairing you made with its code, never because it appeared in a list. Discovery needs both computers on the same private network, and macOS may ask the first time for Local Network permission.
See Pairing and Pair on your network.
Listening for a host#
If you want the viewer to open automatically when a host starts:
rdx join --listenRDX watches for same-owner Tailscale hosts and hosts on your network, then opens the one that appears. A host that was already running when you started listening is ignored. A host found by network announcement but not yet paired is shown as unverified and asks for its code before anything connects.
OS permission is separate#
RDX adds no approval prompt of its own, but the host computer's operating system still asks for Screen Recording and Accessibility permission once. That is setup, not connection approval. See Permissions.