Skip to content

Multiple servers

One panel, the controller, can manage other servers running Ingrest. Each connected server opens the connection to the controller itself, over TLS with pinned certificates, so it needs no open port.

  1. On the controller, in Nodes, turn on the Node endpoint (TCP 42010 by default). The panel opens this port in its firewall.
  2. Create a join code. It is single-use, valid for an hour and gives the controller full access to the server, sudo actions included.
  3. On the other server, run sudo ingrest node join <code> or paste the code in its Nodes section.

The server switcher in the panel header opens the sections of the chosen server.

Sign-in, the account, API tokens, MCP, OAuth, replication and node management are always handled by the controller and never passed to connected servers. A token issued on the controller works for every server; the server is chosen with the X-Ingrest-Node header or the ?node= parameter.

  • Turning the endpoint off drops every connection and deletes unused codes. After a port change, connected servers keep the current connection, but after a drop they reconnect only once the endpoint works on the old port again; otherwise create a code for them with Reconnect: it keeps the server’s name and place in the list.
  • If a server is down for 5 minutes, an alert is raised.
  • Removing a server from the list leaves its sites and containers as they are: its agent forgets the controller if the server is reachable. Otherwise revoke the controller in Nodes on that server.

Private network does not create a network itself: it finds the Tailscale, NetBird or WireGuard interfaces (wg*) you set up. Tailscale and NetBird nodes can be picked as servers for a site proxy, and the panel can be opened only from the private network, see Panel access.