Networking
TurboPanel does not configure your network; it keeps a registry of it, so that every allocator on the platform — replication transports, managed-database listeners, Docker's own address pools, the mesh — can hand out ranges that do not collide with each other or with anything you have told it about. This chapter is the Network hub (/<org>/network) and Servers → Datacenter Networks. The reasoning behind the model — why a datacenter network is a routing domain and not a building, the transport ladder, the collision matrix — is in Datacenter networks; a worked example is Network addressing.
The model
organization
├─ datacenter networks one or more mutually routable private subnets; servers pinned in by address
├─ address pool public and datacenter network addresses hosting rows can bind
├─ Docker networks external networks compose may reference; host-wide Docker address pools
├─ reserved ranges CIDRs something outside TurboPanel routes — no allocator may use them
└─ TurboFabric the opt-in encrypted mesh between servers| Thing | What it is |
|---|---|
| Datacenter network | A network inside a datacenter, a routing domain of one or more subnets whose members can reach each other directly. Not a building — a server can belong to several (a LAN and a backhaul), and two subnets in one building that cannot route to each other are two datacenter networks. |
| Member pin | A server's membership in a datacenter network, pinned to one of the private addresses its daemon reports. The address must fall inside one of the datacenter network's subnets. |
| Priority | 0–1000, default 100, lower wins when two servers share more than one datacenter network. |
| Trusted | Whether the segment is under your control (default on). Untrusted datacenter networks are skipped for replication; traffic falls through to the mesh or a TLS-only public path. |
| Collision authority | One rule every CIDR write passes: a new range may not overlap a subnet, a reserved range, a registered Docker network or pool, the mesh range or container pool, or a range a gateway advertises. The same 409 codes come back on every form. |
One rule: TurboPanel observes host interfaces; it does not configure them. A pin names an address the daemon already reports; when the daemon stops reporting it the pin shows Stale and nothing is changed on the host.
Before you begin
- Manager rights on the organization; all of this is manage-gated.
- For a datacenter network: at least one server whose daemon reports a private IP (+ Datacenter Network appears only then).
Datacenter networks
Servers → Datacenter Networks. The table shows each datacenter network's subnets, members, and its Routing column (P<priority> and a Trusted / Untrusted chip).
Create one
+ Datacenter Network → Name, optional Description.
Pick the Server and one of its reported Private IPs. The First subnet is derived from that address and becomes the datacenter network's first subnet; the server becomes its first member.
Create opens the datacenter network.
The datacenter network page
| Panel | What it does |
|---|---|
| Datacenter Network | Display name, Description. |
| Subnets | The private CIDRs (IPv4 or IPv6). Add subnet normalises what you type to its aligned network and runs the collision authority. A subnet's CIDR is immutable — rename it or delete it (Delete subnet, refused while a pin references it, subnet_has_members). |
| Member servers | Pins: Server + Private IP (only addresses inside this datacenter network's subnets; a server may hold more than one). Stale marks a pin whose address the daemon no longer reports. |
| Routing | Prefer IPv6 / Prefer IPv4, the Priority (with a hint naming which datacenter network currently wins for a pair), and Trusted / Untrusted. Saving recomputes managed transports: every managed-database member whose replication crosses this datacenter network is re-planned and its listeners re-converged. |
| SSH port, NTP defaults, Timezone | The datacenter network rung of the organization → datacenter network → server cascade; Enforce on members pushes the value to every member; Clear (inherit) returns to the organization default. |
| Relays | Which members act as TurboFabric gateways for this datacenter network (see the mesh). |
| Delete | Asks you to type the datacenter network's name; only once no pin remains (datacenter_has_members); deleting removes every subnet with it. |
Addresses
Network → Addresses. The organization's address pool: rows a hosting row or a service can bind.
Add address: the Address, its Scope — Public (an address the world reaches) or Datacenter Network (an address inside one of your subnets, with its Datacenter Network) — and its Allocation: dedicated (one consumer) or shared.
Optionally pin it to a Server; a datacenter-scoped pin becomes a member pin as well.
Address, scope and allocation are immutable after creation; edit the description or delete. An address a hosting row still binds cannot be deleted (ip_in_use). Filters narrow the list by scope and allocation.
Docker
Network → Docker networks.
- Managed networks — the networks the platform created for deployed environments; read-only, shown so the ranges are visible next to yours.
- Docker networks — the external networks a compose file may reference under
networks.*.name. Register a Docker network name (must match the compose reference), optional Subnet (given todocker network create --subnetthe first time a daemon creates it; empty lets Docker pick), optional IP range and Gateway inside that subnet, optional MTU, and an optional Host pin for a host-local network. The subnet runs the collision authority. - Host address pools — organization-wide
dockerdaddressing merged into every enrolled host's/etc/docker/daemon.json: up to 16 Add pool rows (base CIDR + size prefix, non-overlapping) fordefault-address-pools, and an optional Default bridge (bip, the bridge's own host address with prefix —172.17.0.1/16, not a network address). Save restartsdockerdon every host; existing networks and containers keep their addresses. Use this to move Docker off a range your LAN uses (worked example).
Reserved ranges
Network → Reserved ranges. CIDRs that something outside TurboPanel routes — a VPN block, a provider network, the office LAN — which no allocator may hand out. Reserve a range: Name + CIDR → Reserve. Rename with Save name; delete asks you to type the range's name or CIDR. A reserved range that overlaps something already registered is refused with the same collision codes; declare reservations before the ranges they protect are needed.
The TurboFabric mesh
Network → TurboFabric. An opt-in encrypted mesh between the organization's servers (default off), used between datacenter networks and over a shared network marked untrusted (the tunnel runs over that LAN, so plaintext never crosses it). Two servers that share a trusted datacenter network have no tunnel: databases, app-to-database connections and cross-server container networks stay on the LAN, even with TurboFabric off or paused. A cross-server container network rides that LAN only when the trusted network has IPv4 addresses for both servers, and while TurboFabric is off a change that would break a running one (marking the network untrusted, or a server leaving it) is refused. Database failover replication never uses TurboFabric. The full rule and a table of what rides where are in TurboFabric path model.
Enable TurboFabric. Optionally set the container pool (an IPv4 range, prefix /16 or wider, from which each relay's prefix is allocated — it runs the collision authority, and a pool too small for your servers refuses with fabric_prefix_pool_exhausted and nothing enabled) and Allow relay path (whether traffic may hop through a third server when two cannot reach each other directly).
Relays: per server, the Role (gateway for a datacenter network — it must belong to one, with a subnet to advertise — or member), Advertised LAN CIDRs for a gateway, Keepalive (seconds), an Endpoint override, and Set preshared key (write-only).
Apply reconciles every server. Paths then lists every observed pair: the selected path, endpoint, last handshake, latency, and whether it is degraded. No peer paths observed yet — Apply to probe. Each server pair also shows its path, LAN, TurboFabric, TurboFabric over LAN or No Path, with a one-sentence reason; a server's Network tab shows how that server reaches each other server.
Changing the container pool never renumbers existing relays; a pool that would strand one is refused (fabric_container_pool_in_use). The six path states and the selection rule are in TurboFabric path model.
Servers in the mesh
Each server has its own TurboFabric switch, and new servers start switched on. A server that is switched off has no tunnel and is not a peer of any other server, so it cannot be reached over TurboFabric. It keeps any TurboFabric address and settings it already has (its endpoint pin, preshared key and LAN sharing), so switching it back on restores them. Switching a server off is refused (fabric_server_in_use), with a sentence naming what depends on it, while a cross-server container network that needs a tunnel, a managed database replicating over TurboFabric, or an app whose database connection goes over TurboFabric uses that server, or while it is the only server sharing a datacenter network. A cross-server container network whose servers all share a trusted LAN deploys with TurboFabric off; a mixed network, with some servers in another datacenter network, needs TurboFabric on and is refused otherwise (turbofabric_required), naming the servers. Changing a datacenter network's trust, a server's datacenter network membership or a server's switch re-plans paths without a reboot. A server switched off can still hold networks whose other servers all share its trusted LAN, but nothing that needs a tunnel.
Each server also has a role:
- Gateway — accepts connections from other servers. It needs a public address, or an address forwarded to it.
- Client — only connects out to other servers.
The role is automatic by default: Gateway when the server has a public address, Client when it does not. You can choose it yourself instead. In this release the role is saved and shown, but routing does not use it yet; letting a Client reach other datacenter networks through a Gateway comes later. This server role is separate from the relay Role above, which says whether a server shares its datacenter network's LAN ranges across the mesh.
Routes on each server
When the mesh is applied, or a member joins, leaves or changes, the daemon adds a route on every server for each other member's TurboFabric address and container range, plus the LAN ranges a gateway relay shares. No reboot is needed. A range that another network on the server already routes is skipped, so TurboFabric never takes over a route you already use. The daemon alone manages the tp0 interface; the old wg-quick@tp0 system unit is no longer used.
Turning TurboFabric off
Turning TurboFabric off for the organization pauses it. The app asks first, then takes every tunnel down. Keys and cross-server container networks are kept, so turning it back on is instant. Pausing needs every member server to run a daemon new enough to keep its key; otherwise it is refused (fabric_pause_needs_daemon_update) and the message names the servers to update.
Remove TurboFabric Completely is a separate action. It asks again, then deletes the tunnels, the keys and the cross-server container networks that need a tunnel. Networks whose servers all share a trusted LAN are kept. Use it when you do not plan to turn TurboFabric back on.
| API call | What it does |
|---|---|
PUT /api/client/v1/organizations/{id}/fabric with {"enabled": false} | Pauses TurboFabric. |
DELETE /api/client/v1/organizations/{id}/fabric | Removes TurboFabric completely. |
PATCH /api/client/v1/organizations/{id}/fabric/servers/{serverId} with enabled and/or role | Switches one server on or off, or sets its role: gateway, client, or null for automatic. |
GET /api/client/v1/organizations/{id}/fabric | Returns the settings, paused, servers[] with each server's switch and role, and, with two or more servers, pairs[] with each pair's path (lan, fabric, fabric_over_untrusted_lan or none) and reason. |
Reference
| Item | Value |
|---|---|
| Datacenter network priority | 0–1000, default 100, lower wins; tie → datacenter network id |
| Trusted | default on; untrusted is skipped for datacenter network transport, tunnels over that network instead, and refuses failover replicas |
| Address preference | IPv6 / IPv4 per datacenter network |
| Address scopes · allocations | public · datacenter — dedicated · shared |
| Docker pools | ≤ 16, base + size, non-overlapping; size between the base prefix and /30 (IPv4) or /126 (IPv6) |
| Docker MTU | whole number within the daemon's bounds |
| Fabric container pool | IPv4, prefix ≤ /16 |
| Transport order | local → datacenter network → fabric → public |
| Cascades | SSH port, NTP, timezone: organization → datacenter network → server |
Errors
The app renders every collision as a sentence; the codes are what the API answers.
| Code | Status | Meaning |
|---|---|---|
subnet_overlaps | 409 | That range overlaps an existing subnet in this organization. |
cidr_overlaps_reserved | 409 | That range overlaps a reserved range — something outside TurboPanel routes it. |
cidr_overlaps_docker_network | 409 | That range overlaps a registered Docker network or a Docker address pool. |
cidr_overlaps_fabric, cidr_overlaps_fabric_pool | 409 | That range overlaps the TurboFabric range (tp0) or its container pool. |
cidr_overlaps_gateway_advertised | 409 | A gateway in another datacenter network already advertises that range across the mesh. |
invalid_cidr | 400 | Enter a valid IPv4 or IPv6 CIDR. |
network_cidr_required | 400 | A range exists because of its CIDR — enter a new one instead of clearing it. |
subnet_has_members | 409 | Unassign the pinned servers first. |
datacenter_has_members | 409 | Remove the pins before deleting the datacenter network. |
lan_pair_in_use | 409 | Marking the datacenter network untrusted, or removing a server from it, would cut a cross-server container network that runs over its trusted LAN with no tunnel while TurboFabric is not running for those servers. The answer names the networks and servers; nothing is changed. |
datacenter_has_networks | 409 | A non-subnet network (a Docker registration pinned to this datacenter network) still references it. |
address_not_in_any_subnet | 400 | That address is not in any subnet of this datacenter network. |
address_in_use | 409 | That address is already pinned. |
address_cidr_unreported, address_not_reported | 400 | The server has not reported that private IP; pick one it reports. |
ip_in_use | 409 | A hosting row still binds the address. |
ip_address_in_use | 409 | That address is already in the pool. |
docker_network_name_required | 400 | Enter the name compose will reference under networks.*.name. |
docker_network_subnet_required, docker_network_subnet_mismatch, docker_network_subnet_invalid | 400 | IP range and gateway need a subnet; the subnet and CIDR must agree; the subnet must be a valid CIDR. |
docker_network_ip_range_invalid, docker_network_gateway_invalid, docker_network_mtu_invalid | 400 | Range inside the subnet; gateway a bare address inside it; MTU within bounds. |
managed_network_immutable | 400 | Platform-managed networks cannot be edited. |
address_pools_invalid, address_pools_too_many, address_pool_base_invalid, address_pool_size_invalid, address_pools_overlap, default_bridge_cidr_invalid | 400 | The Docker host-pool form's field rules (see the app sentence). |
fabric_prefix_pool_exhausted, fabric_address_pool_exhausted | 409 | The container pool has no prefix or address left for another relay. |
fabric_container_pool_in_use | 409 | Shrinking the pool would strand an allocated relay prefix. |
fabric_cidr_unavailable | 409 | The mesh range collides with something registered. |
fabric_server_in_use | 409 | That server cannot be switched off: a cross-server container network that needs a tunnel, a managed database replicating over TurboFabric, or an app connecting to a database over TurboFabric uses it, or it is the only server sharing a datacenter network. The message names what depends on it. |
fabric_paused | 409 | Apply was asked for while TurboFabric is turned off for the organization, so there is nothing to apply. Turn it back on first. |
fabric_pause_needs_daemon_update | 409 | TurboFabric stays on: the servers named in the message run a daemon too old to pause and keep its key. Update them, or remove TurboFabric completely. |
fabric_teardown_not_queued | 503 | A server's tunnel could not be taken down. The servers that were reached have already dropped their tunnel (and, when removing TurboFabric completely, their key). The server ids are in the response; try again. |
gateway_datacenter_required, gateway_datacenter_cidr_required | 422 | A gateway must belong to a datacenter network that has a subnet to advertise. |
preferred_gateway_invalid | 422 | The named gateway server is not a gateway in the mesh. |
fabric_reconcile_pending, fabric_reconcile_failed, relay_missing | 409 / 422 (deploy) | A deploy that needs the mesh found a reconcile still running, a host that failed to converge (its command id is in the response), or a relay the plan needs missing — see Deploying. |
untrusted_network_needs_fabric | 422 | The servers share only an untrusted datacenter network and TurboFabric is not carrying traffic between them right now. Check that TurboFabric is on and healthy for both, or mark the datacenter network trusted. |
Related
- Datacenter networks — the model, the ladder, the collision matrix.
- Network addressing — a worked example: two datacenter networks, a VPN reservation, Docker pools.
- TurboFabric path model — path states and selection.
- Servers — a server's Network tab.
- Firewall — rules can name a datacenter network or TurboFabric as the source.
- Managed databases — what the transports carry.
Last updated on
Servers
Adding a server with a registration key, pending keys, the server list and batch daemon updates, the server control panel — details, labels, machine class, the Services tab, the server proxy, hostname, reboot, SSH port, time and NTP, daemon update, revoke, delete, forgetting records when the host is gone — and the organization's server settings, with every refusal
Firewall
The firewall TurboPanel manages on each server — what it opens by itself, the mode of each server, your own rules, the safety net, and what is preview-only today