Skip to content

Join a hub ​

You join a device to the hub before you use apps on it, and you decide which features each device can use.

To join a device, generate a link in the panel, then scan or paste it on the device. Before you start, install the client on the device, as Install the client describes.

  1. Open the panel, select Clients in the left sidebar, then select New client link in the upper-right corner.

    Clients page with the New client link button marked in red
  2. In Name, enter a name for the device, such as "My phone"; only the panel shows this name. If the device is yours, leave the permissions as they are and select Generate link. If the device belongs to someone else, change the permissions first, as Clients describes.

    The dialog shows a link and a QR code. Keep the dialog open for joining the device: scan the QR code with a phone, or copy the link on a computer.

    Dialog with the name filled in and the Generate link button marked in red
    1Enter a name and select Generate link
    Link and QR code in the dialog
    2The link and the QR code

The link has these limits:

  • Send it only to the device that joins. Anyone holding the link can join your hub with it.
  • It is valid for 30 minutes and works one time.
  • One link joins one device. A new link invalidates the previous unused one. Join two devices one after the other, and generate the second link after the first device joins.
  • When the Virtual network permission is on, the link contains the credentials for joining the virtual network: the NetBird setup key, or the EasyTier network secret or console address.

Select Done after the device joins. If you close the dialog first, the panel stops showing the link. A link you copied still works until it expires; otherwise, generate a new one.

After the dialog closes, the Clients section gains a row showing Waiting to join (N min left). If the link expires unused, the row disappears automatically.

Waiting row in the Clients section

Join on a phone ​

  1. Open the client app Neutrino on the phone and select Join a hub on the Hubs page. The first time, grant camera access: select Allow the camera, then allow it in the system dialog.

    Phone Hubs page with the Join a hub button
    1Select Join a hub
    Join page with the Allow the camera button
    2Select Allow the camera
    System camera permission dialog
    3Allow the camera
  2. Point the camera at the QR code in the panel. After a successful scan, the phone returns to the Hubs page automatically. If the camera is unavailable, paste the link into the input box under the camera view and select Join.

    QR code in the panel dialog
    1The panel shows the QR code
    Phone join page with the camera view
    2Point the phone at the QR code
  3. The new row first shows Connecting…. The phone has joined when the row shows Connected · LAN or another connection method.

    Phone Hubs page, connected

Join on a computer ​

  1. In the panel dialog, select Copy to copy the link. Open the client window, paste the link into the Join a hub row on the Hubs page, then select Join.

    Client window with the link pasted and the Join button marked in red
  2. The new row first shows Connecting…. The computer has joined when the row shows Connected · LAN followed by the round-trip time.

    The new row shows Connecting
    1Connecting
    The row shows Connected and LAN
    2Connected

On the command line, you can instead run nclient hub join '<link>' with the copied link in place of <link>. The terminal shows joined and the hub address.

Back in the panel, select Done in the dialog. The device's row shows its host name, system and version, with the status online.

Online row in the Clients section

Away from the hub's LAN, you can still join when the hub has an access method turned on. A new row appears on the device immediately, and the link counts as used at the first connection to the hub. If no connection succeeds within 30 minutes, the row shows Join refused; select Leave, then join again with a new link.

Set permissions ​

A new device follows the Default permissions. On the panel's Clients page, you change a device's permissions or limit them to some systems or apps. You also rename, disable and delete devices there, as Clients describes.

Join a second hub ​

A device can join several hubs at the same time:

  1. Open the second hub's panel and change Hub name on the Settings page; otherwise, two hubs with the same name look identical.
  2. Generate a new link on the second hub's Clients page, and join with the earlier steps.

After joining, the Hubs page has one more row, and the Apps, Files, Terminals and Remote desktops pages list the content of both hubs. Each hub's own Clients page sets what the device can use there.

A device joins the virtual network of one hub at a time. To switch, select Disconnect on the current hub first, then Connect on the other. The computer's AI page also opens the gateway of one hub at a time. Selecting Leave on one hub leaves the other hub unchanged.