For the complete documentation index, see llms.txt. This page is also available as Markdown.

Device Package Usage

Connect to the services on a device running the remote.it Device Package, and use the built-in connectd network diagnostics to verify the target device's connectivity.

Connecting to Services

Once remote.it is installed on the target device and its services are configured, you can connect to those services from any remote.it client: the Desktop app, CLI, Web Portal, mobile apps, or the API.

remote.it supports two connection types — direct peer-to-peer and proxy — and not every client supports both:

Client
Peer-to-peer
Proxy

Desktop

CLI

Web Portal

API

The mobile apps can also connect to your device's services.

For details on making and managing connections, see the documentation for Desktop, the Web Portal, or the API.

Checking the Target Network

The Device Package ships only the connectd command, and it is not added to the system PATH. Run these diagnostics on the target device itself — they confirm the device can reach remote.it's servers and any other targets on your LAN.

Because connectd isn't on the PATH, call it with its full path — for example /usr/share/remoteit/connectd -n on Linux — or cd into the install directory first. The examples below use connectd for brevity.

Network diagnostics — connectd -n

Run connectd -n to confirm the network is configured to allow a remote.it connection. It checks DNS resolution, TCP and UDP connectivity to remote.it, how your router handles NAT and ports, and runs internal cryptography self-tests.

What to look for: every check should report [OK], and the run should end with Looks compatible. A router that preserves ports and doesn't remap connections (as shown above) gives the best chance of a direct peer-to-peer connection.

NAT timeout check — connectd -nat

For extra confidence that connectivity is stable — and that the device won't report inaccurate offline events — run connectd -nat. It measures how long your NAT keeps a UDP mapping open. A calculated time of around 30 seconds or more is desirable.

What to look for: a calculated NAT map time of roughly 30 seconds or more. Very short mapping times can cause remote.it to see the device as intermittently offline.

Connectivity check — connectd -nc <server:port>

Use connectd -nc <server:port> to test whether the device can open a TCP connection to a specific address. This is useful for confirming a LAN target or jump destination is reachable before you add it as a service.

SUCCESS confirms the device can reach that host and port. If it fails, check that the target is running and reachable from the device's network.

Troubleshooting Connectivity

If a diagnostic check doesn't pass:

  • Confirm the device has working internet access and DNS resolution.

  • Make sure the device can reach remote.it's servers over the required outbound ports — no inbound port forwarding is needed. See remote.it's firewall and port requirements for the specific ports.

  • Allow connectd through any local antivirus or endpoint protection.

  • Re-run connectd -n after each change.

Remember that the Desktop and CLI can use faster peer-to-peer connections, while the Web Portal and API always connect through a proxy.

Last updated

Was this helpful?