Skip to main content

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​

AspectRatspeak App (default)Standalone rnsd-rs + lxmd-rs
Config directory<data>/.ratspeak/identities/<hash>/reticulum/~/.rsReticulum/ and ~/.rsLXMF/
Shared-instance ports37430 (data) / 37431 (control)37428 (data) / 37429 (control)
Who owns hardware/TCP interfacesRatspeak manages them in Networkrnsd-rs owns them via config
Best forEveryday desktop & mobile messagingAlways-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 / BackboneInterface to join another Reticulum node over the internet or LAN.
  • Use RNodeInterface over 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:

  1. Open Settings → Developer and turn on Developer mode to reveal Reticulum on this device.
  2. Under Run by, select Another app.
  3. 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.
  4. 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.

Protect shared-instance access configurations

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​