Setup and administration › Relay server

Start a relay server and verify a device registration

Start the relay on the device that will accept connections. Register a second device and compare the device ID at both ends before relying on the connection.

Example · Verify an office device on the relay

  1. Open the relay server on the office device and start it. Check its listening state.

  2. Register the second device through this relay. Read its assigned device ID in Fricle Host.

  3. Open Registered devices on the relay and locate the same ID. Compare the digits with the device you registered.

The registered device ID matches the value issued to the office device.

Enable the relay server

  1. On the device that will run the relay, install Fricle. In the desktop app, open Manage connections, select this computer, and open Remote access. Under Advanced, turn on Relay server. Sign in with the master account if prompted.

  2. Open that device’s Relay server page in Manage connections. In Overview, set Listen on to All addresses so the other computers can connect. If the page shows Migration required, select Migrate, review the report, and migrate the database before starting the relay. A new SQLite database also needs this step.

  3. Select Start and wait for Running. Under Addresses, note the network address and port that your other devices can reach. For example, if the server’s address is 192.168.1.20 and the port is 9125, use those values on your other devices.

Start a relay from the CLI

On a headless server where you installed Fricle Host and the CLI, use the following commands for a new relay with the default SQLite database. Replace admin with the Fricle Host master account on that server. Enter the account password at the sign-in prompt. 0.0.0.0 listens on all IPv4 addresses. Check for running in the status output and use a reachable address of the server when adding it to another device.

sh
frc manage login admin
frc relay enable
frc relay configure --bind 0.0.0.0
frc relay schema
frc relay migrate
frc relay start
frc relay status --json

Example: Connect through your own relay

  1. On the device you want to reach, open Remote access and turn on Allow remote access. Choose Add a connection way → Relay server and enter the relay’s reachable hostname or IP address and port. When the relay assigns an ID, open its row menu and select Copy device ID.

    See the demo device ID in Registered devices.

  2. On the device you’ll connect from, open Manage connections → Add connection → Fricle Host → Device ID. In the relay selector, add or select the same relay. Enter the copied ID and sign in to the target device. Choose Browse files to check that you can open its folders.

Browse the demo device’s files through the relay.

See Choose a relay database for storage and schema checks, or Relay server logs for connection records.