Manage devices

Approve, rename, re-address, tag, expire and remove devices from the console, approve exit points, and how quickly each change reaches the device.

Updated · ·By Ivan Vyshniak

Nothing on this page changes with your selection.

The console's Devices page lists every device in the active network. Managing devices requires the Owner, Admin or IT admin role. Other roles can view the page.

The Devices page

At the top: Total devices, Online and Pending approval counts, a search box and Add device (see Add a device). Search matches device names, device IDs, addresses, owners' display names, and tag names.

ColumnShows
DeviceStatus dot, the device's name (links to its details), and its owner, or Shared resource for tagged devices, or no active session.
TagsTags, plus exit point and Subnets badges and never expires when session expiry is off.
StatusPending, Denied, Revoked, Online or Offline. See Devices.
IPThe device's address in the network.
VERSION/OSClient version and operating system version.
Last seenWhen the device last checked in. Cleared when it pauses, signs out, or its service stops cleanly.

There is no multi-select; actions apply to one device at a time.

The page keeps itself current. A newly installed device, a device that was approved, renamed or removed elsewhere, and a device coming online appear within a few seconds, without reloading. A tab in the background checks again as soon as you return to it.

Device details

Click a device's name to open its page. It shows:

  • Device identity: name, OS hostname (in practice, the device's name as last sent at sign-in), active user or Shared (tag-owned), session start and expiry, network, status, last activity.
  • Attributes: 9-digit Device ID, OS, client version, tags, and the device's Machine key and Node key (public keys; click the eye icon to reveal).
  • Relays: the latency to each relay region, with ACTIVE on the device's home relay.
  • Addresses: the device's address, and the endpoints it offers for direct connections.
  • Client connectivity: whether UDP, UPnP, PCP and NAT-PMP work from the device.

The Actions menu offers the same edits as the Devices page, except approval, exit-point approval and update.

Force log out, under Device identity, ends the device's session; it must sign in again to reconnect. It works only for devices signed in under your own account. For anyone else's device it fails with Session not found., even for admins; use Remove from network instead.

Actions

Open the ⋯ menu in a device's row:

ActionWhat it doesReaches the device
Edit nameChanges the device's name in this network. Names must be unique in the network. The device's page limits names to 32 characters without dots; keep to that so the name works as a hostname.Within about 10 s; peers' hosts files update too.
Edit IPGives the device a different address. It must be inside the network's subnet and not used by another approved device. Open connections to the old address break.Within about 10 s.
Edit tagsReplaces the device's tags. See Tags, groups and roles. Adding the first tag makes it a shared resource; removing the last tag signs it out.Within about 10 s.
Approve as exit point / Revoke exit pointShown only when the device offers itself as an exit point.Within about 10 s.
Edit subnet routes…Shown only when the device advertises subnets as a subnet router, or has some approved. Tick the subnets other members may reach through it.Within about 10 s, on every member.
Disable session expiry / Enable session expiryMakes the device's session never expire, or follow the network's Default key expiry again.At the device's next sign-in. The current session keeps its expiry date.
Remove from networkRemoves the device from this network. See Remove a device or a person.Within about 10 s it loses all peers and peers drop it.

Approve devices

When Settings → Device Management → Manual device approval is on, devices that join the network wait in Pending until an admin approves them. It is off by default. Saving the setting requires the Owner, Admin or Network admin role. (In the console a Network admin sees the setting read-only and an IT admin can change it but the save fails; see Network settings.)

A pending device has an address but sees no peers, and no peer sees it. It counts toward the plan's device limit.

To approve, click Approve in the device's row. The device connects within about 10 seconds, without signing in again. If the device has no address of its own (it joined when the subnet was full, or its address went to another device while it was denied), approving gives it the next free one; when the subnet has none left, approval fails with This network's subnet has no free address for this device. The device's page has no Approve button.

To turn a pending device away, click Deny in its row and confirm. A denied device stays in the list as Denied and can't connect; signing in again doesn't change that. Approve is offered on denied and revoked devices too, to let them in later.

  • Approval is per device and per network. Approving Alice's laptop doesn't approve her phone.
  • A device that was approved stays approved when it signs in again.
  • Turning the setting off approves every device that is waiting, at once; they connect within about 10 seconds without signing in again. The audit log records one device.approval_released entry with the count. A waiting device the subnet has no free address for stays Pending; approve it once an address is free.
  • Deny versus Remove from network: a denied device keeps its place in the list and stays out, whatever it does. A removed device is deleted from the network, so if it signs in again it joins afresh: approved at once while Manual device approval is off, or waiting as Pending while it is on.

When a device signs in through the browser and has to wait, the sign-in page says Waiting for approval and names the network whose admin must approve it, instead of Device added.

The Update button

When the network's Auto-update setting is off, an Update button appears in rows whose client is older than the current stable release.

The Update button doesn't reliably update devices

Clicking Update shows Queued, but a device that is online when you click doesn't act on it, and devices that reconnect later may not install the update either. To update a device, run peerlify update on it, or turn Auto-update on. See Keep the client up to date.

How changes reach devices

The control plane rebuilds each connected device's peer list and rules every 5 seconds, from data that is up to 4 seconds old. Most changes therefore reach online devices within about 10 seconds, with no action on the device. A device that is offline gets them when it reconnects.

Next steps

Was this page helpful?