Configure Gateway Allowed Origins | Generated by AI

Home 2026.03

The config key is gateway.controlUi.allowedOrigins. You can either list specific origins or use "*" to allow all.

For your LAN setup, set it via:

openclaw config set gateway.controlUi.allowedOrigins '["http://192.168.1.1", "http://192.168.1.2"]'

Or to allow any origin (wildcard — simpler for a trusted LAN):

openclaw config set gateway.controlUi.allowedOrigins '["*"]'

Note: "*" disables origin allowlisting entirely (the audit will warn about it, but it won’t block startup). For a private LAN this is usually acceptable.

After updating, restart the gateway:

systemctl --user restart openclaw-gateway.service

Back Donate