Shared instances and network topologies
Reticulum lets multiple programs on the same machine share one network runtime (one set of interfaces, routing tables, and transport engine) over a local socket — called a shared instance.
Ratspeak App vs. standalone rnsd-rs / lxmd-rs
| Aspect | Ratspeak App (default) | Standalone rnsd-rs + lxmd-rs |
|---|---|---|
| Config directory | <data>/.ratspeak/identities/<hash>/reticulum/ | ~/.rsReticulum/ and ~/.rsLXMF/ |
| Shared-instance ports | 37430 (data) / 37431 (control) | 37428 (data) / 37429 (control) |
| Who owns hardware/TCP interfaces | Ratspeak manages them in Network | rnsd-rs owns them via config |
| Best for | Everyday desktop & mobile messaging | Always-on VPS hubs, Raspberry Pi gateways, headless Offline Inboxes |
Because the default ports and directories are separate, desktop Ratspeak and a standalone rnsd-rs can coexist on the same host without colliding — unless both try to open the same TCP listener port or the same USB serial radio.
Common deployment topologies
Single server (shared instance)
LoRa-to-IP community gateway
RNode-over-TCP vs. Reticulum TCPClientInterface
These two TCP connections are frequently confused:
- Use
TCPClientInterface/BackboneInterfaceto join another Reticulum node over the internet or LAN. - Use
RNodeInterfaceover TCP (tcp://host:port) only to drive a raw networked RNode radio bridge (keep that control socket private on your LAN/VPN).
Attaching Ratspeak to another local Reticulum instance
If rnsd-rs (or Python rnsd) already runs on your computer and owns your LoRa radios or Backbone connections, Ratspeak can attach to it as a shared-instance client:
- Open Settings → Developer and turn on Developer mode to reveal Reticulum on this device.
- Under Run by, select Another app.
- Enter the owner instance's connection details (TCP ports or Unix socket, instance name, and RPC key (hex)) — or paste its Access configuration (JSON) and select Load configuration.
- Choose Test connection, then Apply changes (interrupts live calls and transfers).
While attached to another instance, that daemon owns interfaces and transport forwarding; Ratspeak keeps its saved interface list for whenever you switch Run by back to Ratspeak.
Share with local apps → Copy access… exports an administrative control key. Never paste that JSON or RPC key into a public support channel or issue tracker.
Running multiple isolated instances on one host
Give each standalone daemon its own --config directory and distinct shared_instance_port / instance_control_port (or instance_name on Unix sockets):
# ~/.rsReticulum-testnet/config
[reticulum]
share_instance = yes
shared_instance_port = 38428
instance_control_port = 38429
Query that instance with rnstatus-rs --config ~/.rsReticulum-testnet.
Next steps
- Deploy a VPS hub in VPS & public backbone.
- Run
lxmd-rsalongsidernsd-rsin Offline Inbox (lxmd-rs).