Skip to content

Cloud services / Private networking

A private route to your network.

Connect your devices to a private subnet over WireGuard. Run a gateway on a Linux host that can reach your network, then manage routes and device profiles in Next Hat.

Example traffic paths

AllowedIPs = 10.20.0.0/16

Only the private subnet uses your gateway. Other IPv4 traffic uses the device’s usual connection.

AllowedIPs = 0.0.0.0/0

All IPv4 destinations use your gateway, including public websites.

Bring a device onto your network

WireGuard clients
  1. 1.Create the network

    With VPN enabled, choose the IPv4 ranges that should use the tunnel, or select full tunnel to route all IPv4 traffic.

  2. 2.Enroll a gateway

    Register a gateway and use its one-time token to enroll the agent on your Linux host. Check its readiness in the console.

  3. 3.Import a profile

    Add a device and save its issued profile. Import it into WireGuard, connect, then check its latest handshake and transfer counters.

Route public hostnames with Edge