Devices and VPN addresses · Qarvix

Devices, static clients, managed connections, and VPN addresses

A device in Qarvix is a member of a managed network. It could be a router running the agent, a hub, a static WireGuard client, or another node that needs secure access.

This section explains how member types differ, how one-time connection tokens are used, what a VPN IP means, and why the online status of a managed device and a static client is determined differently.

In short

Member types

Type Where it's used How it connects What matters
Managed device router, gateway, a site behind NAT Qarvix agent + token WSS for management, WireGuard for traffic
Static client laptop, phone, server WireGuard profile no agent or WSS, status via handshake
Hub the network's central WireGuard node managed by the system accepts peer connections and routes
Device behind the router camera, PLC, sensor, API via a LAN route not necessarily a WireGuard member itself

Not every device at a site needs to be its own Qarvix member. Often it's enough to connect the router and open the LAN subnet or specific API you need through it.

Managed device

A managed device is a router or edge node with the Qarvix agent installed. The list of models that already have a ready-made agent build is in Supported hardware.

The agent handles several jobs:

This scenario fits sites with no public IP, behind carrier NAT, on a regular SIM card, or where inbound ports can't be opened.

Static client

A static client is a network member with no Qarvix agent. It's usually an engineer's laptop, a phone, a workstation, or a server running a regular WireGuard client.

Details:

A static client is handy for personal engineer access, temporary contractor access, and connecting service servers.

Hub

The hub is the central WireGuard node of a Qarvix network. In the technical diagram, it's not a separate box at a site - it's an interface and logic living on the control plane side.

The hub is responsible for:

In everyday operation, you don't need to configure the hub manually. It matters for understanding why a static client can be online with no agent, and why its state is evaluated differently than a managed router's.

VPN address

The VPN IP is a member's address inside the Qarvix network. It's issued from the CIDR range of the selected network.

Example:

Network: home-net
CIDR: 10.100.0.0/24
Device VPN IP: 10.100.0.4
Client VPN IP: 10.100.0.8

The VPN IP is needed for:

Before creating a production network, check that the VPN range doesn't overlap with sites' local networks or corporate VPNs.

One-time connection tokens

A connection token is used for a managed device's initial registration.

What matters:

The token is only needed at the connection stage. After registration, the device should operate on its own credentials and keys.

Managed connections

A managed connection is convenient because the engineer on site doesn't configure WireGuard by hand.

The typical process:

  1. The administrator selects a network in Qarvix.
  2. Creates a connection token.
  3. Hands the token to the engineer or enters it during agent installation.
  4. The agent connects to the control plane over WSS.
  5. Qarvix issues the WireGuard configuration.
  6. The device gets a VPN IP.
  7. The administrator checks status, logs, and reachability.

This matters especially for sites behind a mobile carrier: no public IP is needed, and there's no need to ask the carrier to set up port forwarding.

Online and Offline

Statuses need to be read with the member's type in mind.

Managed device

For a managed device, what matters is:

If WSS drops, the device may stop receiving commands and updates. If WireGuard doesn't come up, user traffic won't flow even if the agent managed to reach the control plane.

Static client

A static client has no agent and no heartbeat. So its online status is determined by the freshness of the WireGuard handshake at the hub.

This means:

Device data

For managed devices, it's useful to store and display:

This data helps you understand which devices need updating, which models are in use, and where to start looking when there's a support request.

Devices behind the router

Cameras, PLCs, sensors, POS terminals, meters, and local APIs often don't run WireGuard directly. They stay on the LAN behind the router, and Qarvix opens access to them through a route.

Example:

Site router: 10.100.0.4
LAN behind router: 192.168.10.0/24
Camera: 192.168.10.20
PLC: 192.168.10.30
Meter API: 192.168.10.50:8080

In this case, the router is the Qarvix member, and local devices are reachable through a subnet route and access rules.

When to create a separate static client

Create a static client if:

Don't use one static profile for several people. If the profile ends up in the wrong place, it becomes hard to tell who actually connected.

When you need a managed router

A managed router is needed when:

This is the primary option for industry, retail, remote sites, and service maintenance.

Checks after adding

After adding a device or client, check:

Common issues

Device doesn't show up in the list

Check the token, its expiry, the device's access to the control plane, DNS, TLS, and any network restrictions at the site.

Device shows up, but offline

Check the agent's WSS connection, device logs, access to the server, the device's clock, and possible blocking by the carrier or a firewall.

Device online, but no LAN access

Check the subnet route, local subnet, firewall on the router, ACL, peer mesh, and any overlap in address ranges.

Static client offline

If the client hasn't sent traffic in a while, this can be a normal state. Trigger traffic from the client and check the freshness of the handshake.

VPN IP conflicts with a local network

Choose a different CIDR for the Qarvix network or change the site's local addressing. It's best to fix subnet overlaps before a production launch.

Checklist

Related sections