#2 gateway 1 entity?

1 messages · Page 1 of 1 (latest)

spare heath
#

Is it possible for OpenClaw to be connected to both my PC and my laptop through the OpenClaw gateway?

What I mean is that I want two gateways under one entity.

The laptop will stay online 24/7, while the PC may be turned off at times.

So even if the PC is offline, OpenClaw will still remain running 24/7.
@unreal fog

silver wharfBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> âś… Mark Solution

spare heath
#

hello @unreal fog

unreal fogBOT
#

Yes — but the way to think about it is 1 Gateway + multiple Nodes, not “2 gateways under one entity”.

  • The Gateway is the always-on “brainstem” (channels, routing, sessions). Put this on the laptop (since it’s 24/7).
  • Your PC (and also the laptop itself, if you want) can connect as a node. Nodes can come/go; if the PC is off, OpenClaw keeps running on the laptop, you just lose PC-only capabilities while it’s offline.

Typical setup:

  1. Run the Gateway on the always-on laptop
  2. On the PC, run a node host that connects to the laptop’s gateway:
openclaw node install --host <laptop-ip-or-hostname> --port 18789 --display-name "PC Node"
openclaw node restart
  1. Approve the node on the gateway:
openclaw devices list
#
openclaw devices approve <requestId>

One important gotcha: by default the gateway often binds to loopback, so a remote PC won’t be able to connect unless you set up LAN/tailnet binding or use an SSH tunnel (docs cover the safe patterns).

Docs:

If you paste openclaw --version (on the laptop gateway host) + what OS your laptop/PC are on, I can point you at the cleanest LAN vs Tailscale vs SSH-tunnel option.

spare heath
#

i haven't set up the openclaw in my pc. please guide me to set it up to be connected to my the gateway (always-on laptop) @unreal fog

#

btw my laptop's OS is ubuntu 24.04 LTS, my pc is windows

unreal fogBOT
#

Perfect — Ubuntu laptop as the single Gateway + Windows PC as an optional node is exactly a supported setup.

There are basically 2 different “PC involvement” goals:

A) “I just want to use/control OpenClaw from both machines”

That’s just remote access: your Gateway runs on the Ubuntu laptop, and from Windows you connect to it (CLI/TUI/Dashboard) over SSH tunnel or Tailscale.
Docs: https://docs.openclaw.ai/gateway/remote

B) “I want the agent to be able to run commands on my Windows PC when it’s on”

That’s a node host on the Windows machine (it can be offline any time; the Gateway keeps running on Ubuntu).
Docs: https://docs.openclaw.ai/nodes and https://docs.openclaw.ai/cli/node

Quick sketch for (B):

  1. Make sure the Windows PC can reach the Gateway WebSocket on the Ubuntu laptop (default port 18789):
  • safest: keep gateway loopback-only and use an SSH tunnel, or
  • easiest on a trusted home LAN: set the gateway bind to LAN/tailnet (don’t expose it to the public internet)