Self-Host Nerve for OpenClaw with Manual Install
Install openclaw-nerve manually, verify it on 127.0.0.1:3080, then reach the dashboard remotely over a Localtonet HTTP tunnel with auth enabled.
In this article 11 sections
Build Nerve from source, confirm it works on your own machine, then open your OpenClaw cockpit from any browser
Nerve is an open-source, MIT-licensed web cockpit for OpenClaw. It gives you agent sessions, sub-agent trees, a Kanban task board, workspace file editing, voice, and usage visibility in one browser tab. This guide walks through the manual installation path (clone, install, setup, run), explains what the setup wizard decides for you, and shows how to verify the dashboard locally on 127.0.0.1:3080 before anything is exposed. It also covers routine operation, updates, and the known issues in recent releases. Once Nerve works locally, we add remote access with a Localtonet HTTP tunnel and layer our tunnel access controls in front of Nerve's own password authentication.
📋 What's in this guide
Why self-host Nerve for OpenClaw?

OpenClaw agents can run for a long time: they spawn sub-agents, execute scheduled jobs, read and write files in their workspaces, and consume tokens across providers. A chat thread is a good way to talk to an agent, but it is a poor way to operate one. You end up scrolling to find out whether a task finished, asking the model to recite its own cron schedule (which costs tokens), or opening a terminal just to check what is in a workspace file.
Nerve is built to solve that operating problem. The project describes itself as a real-time web cockpit for OpenClaw, and it turns agent activity into something you can watch, steer and review from a single browser window. It is free, open source under the MIT license, and designed to be self-hosted, so the dashboard runs on hardware you control and talks to your own OpenClaw gateway.
Self-hosting also brings a practical constraint: by default Nerve only listens on 127.0.0.1, which means only the machine it runs on can open it. That is a sensible security default, but it becomes inconvenient the moment you want to check on your fleet from a phone, a laptop at a coffee shop, or a colleague's browser. The second half of this guide addresses that problem with an HTTP tunnel from our platform, while keeping Nerve itself bound to localhost.
What Nerve gives you once it is running
The features below come from the project's own description of the current releases. Knowing them upfront helps you verify the installation later, because you will know which panels should appear. Note that v1.6.0 is described as a complete UI overhaul, so where this guide mentions specific panels or labels from the 1.5.x interface, the names or layout may differ in 1.6.0.
How Nerve, the OpenClaw gateway and Localtonet connect

Before installing anything, it helps to understand that Nerve is not a standalone agent runtime. It is a web interface that connects to an OpenClaw gateway. The project's site illustrates a running setup as Nerve on localhost:3080 connected to a gateway on port 18789. The gateway is where OpenClaw actually runs your agents; Nerve reads state from it, streams replies, and sends your commands back.
Nerve's own browser traffic is ordinary web traffic: REST requests for data, WebSocket connections for real-time interaction, and streamed updates. That matters for remote access, because it means the right tunnel is an HTTP tunnel pointed at Nerve's web port, not a raw TCP tunnel to the gateway.
Our HTTP tunnel documentation confirms two properties that are directly relevant here. First, WebSocket connections pass through an HTTP tunnel, so Nerve's real-time channel does not need a separate tunnel type. Second, visitors reach an HTTP tunnel over HTTPS with a certificate that Localtonet provides and renews. TLS ends at the Localtonet server; from there the request travels through the tunnel to your device, and the Localtonet app passes it to Nerve. That means Nerve can stay on plain HTTP on 127.0.0.1:3080 while browsers see an HTTPS address.
If Nerve also uses Server-Sent Events (long-lived HTTP responses) for some streams, note that our documentation explicitly covers WebSocket but does not specifically describe SSE behavior. SSE is plain HTTP, so it is expected to travel like any other response, but verify it in practice, and review the tunnel's HTTP Timeout setting (covered later) if long responses are cut off.
The three deployment topologies
The Nerve project describes three ways to arrange the components. Pick one before you run the setup wizard, because the wizard asks how to reach your gateway.
| Topology | Where Nerve runs | Where the gateway runs | Typical use |
|---|---|---|---|
| Local | Your machine | Same machine | Simplest setup; everything on one workstation, home server or VPS |
| Hybrid | Your local machine | A cloud host | Keep the dashboard local while agents run elsewhere |
| Cloud | A cloud host | A cloud host | Both components on a server you reach remotely |
In every topology, the Localtonet client in this guide runs on the machine where Nerve runs, because that machine can reach 127.0.0.1:3080. The tunnel exposes the Nerve dashboard; it does not need to expose the gateway port. Keeping the gateway off the public internet reduces the attack surface considerably.
For hybrid and cloud topologies, Nerve uses a GATEWAY_URL setting for the gateway address. Since release v1.5.4, npm run setup automatically adds a remote GATEWAY_URL host to WS_ALLOWED_HOSTS. If you edit the gateway address by hand later, keep this relationship in mind, because a host missing from the allowed list is a plausible cause of WebSocket failures.
Prerequisites
The official requirements are short, but each one is mandatory. Nerve's site lists macOS or Linux, Node.js 22 or newer, the openclaw CLI, and a gateway.
| Requirement | What the project states | How to check |
|---|---|---|
| Operating system | macOS or Linux | Windows is not listed. Whether WSL works is not established in the project material we reviewed, so treat it as untested. |
| Node.js | Version 22 or newer | node --version should print v22 or higher |
| npm | Used by every documented manual install command | npm --version |
| Git | Needed to clone the repository for a manual install | git --version |
| OpenClaw CLI | The openclaw CLI must be installed |
command -v openclaw should print a path |
| OpenClaw gateway | A gateway Nerve can connect to, local or remote | Confirm the gateway is running before you start setup |
Run the checks in one go from a terminal on the machine that will host Nerve:
node --version
npm --version
git --version
command -v openclaw
If node --version reports anything below 22, upgrade Node.js first using your preferred method (your distribution's packages, the official Node.js installers, or a version manager). Nerve's requirements do not prescribe a specific installation method for Node.js, so use whichever you already manage confidently.
OpenClaw version compatibility
Version matching between Nerve and OpenClaw matters more than usual. Current OpenClaw gateways require connect protocol v4. Nerve v1.5.3 did not speak that protocol and failed with Auth failed: protocol mismatch. Release v1.5.4 (Oct 6, 2026) restored compatibility and made live streaming work again on OpenClaw 2026.9. The project site lists v1.6.0 (Nov 23, 2026) as the latest release, described as a complete UI overhaul plus a stack of new features and fixes. In practice: if you run a current OpenClaw gateway, use Nerve v1.5.4 or newer, which a fresh clone of the master branch gives you.
Much of the Nerve-specific detail in this guide comes from the v1.5.4 release notes and the project site. Because 1.6.0 overhauled the UI, tab names, panel positions or wizard wording described here may have changed. The commands and configuration concepts are the stable part; when a label does not match, read the 1.6.0 release notes linked from the project site.
Installer versus manual install
The project offers a one-line installer as well as the manual path. Both are legitimate; this guide focuses on the manual path because it shows every step, keeps the code in a directory you chose, and makes it obvious what is running.
| Method | Command | What you get |
|---|---|---|
| Short installer | curl -fsSL https://nerve.zone/i | bash |
Handles dependencies, clone and build, and usually hands you to the setup wizard. Defaults to a ~/nerve directory and sets up a service. |
| README installer | curl -fsSL https://raw.githubusercontent.com/daggerhashimoto/openclaw-nerve/master/install.sh | bash |
The installer script referenced directly from the repository's master branch. |
| Manual install | git clone, npm install, npm run setup, npm run prod |
Full visibility over each step. You manage how the process stays running yourself. |
Piping a remote script into bash runs it with your user's permissions. If you choose either installer, download it first, read it, then run it. The manual path below avoids this pattern entirely.
Manual installation of openclaw-nerve
The manual sequence documented in the project README is four commands after cloning. Run them as the user who will operate Nerve, not as root. Choose a directory you will remember, because updates and the setup wizard both run from inside the repository folder.
git clone https://github.com/daggerhashimoto/openclaw-nerve.git
cd openclaw-nerve
npm install
npm run setup
npm run prod
What each command does
git clone downloads the repository, including the master branch, into a folder named openclaw-nerve. Note that this differs from the installer, which uses ~/nerve. The maintainers' own instructions distinguish the two ("installer default" versus "manual clone"), so keep track of which one you used when following update notes later.
npm install installs the JavaScript dependencies defined by the project. This is where an old Node.js version usually surfaces as an error, so if it fails, recheck the Node.js 22 requirement first.
npm run setup launches the interactive setup wizard. This is the most important step, and the next section covers it in detail. The wizard locates your OpenClaw configuration and gateway, asks how you want to reach Nerve, and offers password authentication when you open it beyond localhost.
npm run prod starts Nerve in production mode. It runs in the foreground of your terminal, so the dashboard stays available for as long as that process is alive. Stopping it (for example with Ctrl+C) stops Nerve.
The README's manual sequence goes straight from npm run setup to npm run prod. The maintainers' update instructions in the v1.5.4 release notes, however, run npm run build before npm run prod after pulling new code. Our reading is that a build is part of refreshing the compiled server output after code changes. If npm run prod on a fresh clone reports missing build output, running npm run build first is consistent with the maintainers' own procedure.
Using a non-default OpenClaw configuration path
If your OpenClaw configuration does not live where setup expects it, the setup step respects the OPENCLAW_CONFIG_PATH environment variable (added in v1.5.4). Set it for the setup run so the wizard reads the right file. Replace the placeholder with your real path:
OPENCLAW_CONFIG_PATH=/path/to/your/openclaw/config npm run setup
The default location of the OpenClaw configuration is defined by OpenClaw, not by Nerve, and we do not state it here because it is outside the evidence we reviewed for this guide.
Gateway tokens stored as SecretRef
OpenClaw can store the gateway token as a SecretRef rather than a plain value. Before v1.5.4, npm run setup crashed in that situation. Current versions no longer crash and resolve environment and file references where they can. If your token reference cannot be resolved automatically, expect the wizard to need the value from you; the exact prompt is not described in the material we reviewed.
The setup wizard and configuration choices
The setup wizard is where most of Nerve's behavior is decided. It covers two big questions: how the browser reaches Nerve, and how Nerve reaches the gateway.
Choosing how you reach Nerve
The project describes four access modes offered by the wizard: localhost, LAN, a Tailscale tailnet IP, or Tailscale Serve. When you pick anything that opens Nerve to the network, setup offers password authentication.
| Wizard option | Who can reach Nerve | Notes |
|---|---|---|
| Localhost | Only the machine running Nerve | The default (binds to 127.0.0.1). Required starting point for the Localtonet approach in this guide. |
| LAN | Devices on your local network | Setup offers password auth. Not reachable from outside your network without extra work. |
| Tailscale tailnet IP | Devices on your tailnet | Requires Tailscale on every client device. |
| Tailscale Serve | Devices on your tailnet via Tailscale Serve | Requires Tailscale on every client device. |
For our workflow, choose localhost. The Localtonet client runs on the same machine and connects to 127.0.0.1:3080 locally, so Nerve never needs to listen on a public or LAN interface. This keeps the network exposure in one place: the tunnel, which you can start and stop on demand.
Nerve offers password authentication when you open it to the network. With a tunnel, Nerve itself still binds to 127.0.0.1, so the wizard may not consider it exposed. From a security standpoint it is exposed: anyone with the public URL reaches the same dashboard that can edit agent files and drive agents. Enable Nerve's password authentication before you start a tunnel. The security section explains how to approach this, which tunnel-level controls to add on top, and where the project material leaves gaps.
Connecting the gateway
For the local topology, the wizard connects Nerve to a gateway on the same machine. The project's site shows the gateway on port 18789 in its illustration of a connected setup. For hybrid or cloud topologies, you point Nerve at the remote gateway URL; as noted earlier, setup then adds that host to WS_ALLOWED_HOSTS automatically.
If you would rather let an agent drive installation, the project also publishes an "AI agent setup" path intended for agents that can run shell commands. We recommend doing the first install yourself so you understand the resulting configuration, then using automation for repeat deployments.
Where the configuration lives
The setting names documented in Nerve's release notes include GATEWAY_URL and WS_ALLOWED_HOSTS, and the wizard reads OPENCLAW_CONFIG_PATH. The exact file in which setup stores its results, and the full list of supported settings, are not covered by the material we reviewed. The project maintains a configuration reference; consult it before editing settings by hand, and prefer rerunning npm run setup when you need to change access mode or gateway details.
Verify Nerve locally on 127.0.0.1:3080

Never create a tunnel to a service you have not verified locally. If something is wrong, you want to discover it on localhost, not by debugging a public URL. Verification has three layers: the process is listening, the page loads, and the dashboard is connected to the gateway.
1. Confirm something is listening on port 3080
With npm run prod running in one terminal, open a second terminal and check the listener. On Linux:
ss -ltnp | grep 3080
On macOS:
lsof -iTCP:3080 -sTCP:LISTEN
In localhost mode you should see the listener bound to 127.0.0.1:3080, not 0.0.0.0:3080. If you see a wildcard bind, setup was configured for network access; revisit your wizard choice.
2. Confirm the web server responds
curl -I http://127.0.0.1:3080
Any HTTP response line proves the web server is up. A connection refused error means Nerve is not running or is listening on a different port. We do not list a specific expected status code, because the response for the root path (for example a redirect to a login page when auth is enabled) is not documented in the material we reviewed.
3. Open the dashboard in a browser
On a desktop machine, open http://127.0.0.1:3080 in your browser. If Nerve runs on a headless server or VPS, you cannot open a browser there, so use an SSH local port forward from your laptop. This is standard OpenSSH behavior, not a Nerve feature:
ssh -L 3080:127.0.0.1:3080 your-user@your-server
While that SSH session is open, http://127.0.0.1:3080 on your laptop reaches Nerve on the server. This is also a useful permanent fallback for administrative access when a tunnel is stopped.
4. Check the gateway connection and live streaming
A page that loads is not enough. The project's illustration shows the gateway connection state in the interface (for example "gateway :18789 · connected"). Confirm the dashboard reports a connected gateway, then send a short message to an agent and watch the reply stream in. On OpenClaw 2026.9 with Nerve older than v1.5.4, text could freeze after the first few characters; if you see that, upgrade Nerve. Open the session tree and Kanban board to make sure state loads. If everything streams correctly locally, you have proven that the REST and real-time paths work end to end, which gives you a clean baseline for the tunnel test.
The v1.5.4 release notes list a known issue: on OpenClaw 2026.9 the Crons tab cannot load, because the gateway's HTTP tool endpoint denies the automations tool by default. The maintainers stated that a fix was planned for 1.6.0. The material we reviewed does not confirm that the fix shipped, so if you run 1.6.0, check its release notes for this item. On 1.5.4 with that OpenClaw version, an empty or failing Crons tab is not a problem with your installation.
Run, update and maintain Nerve
Keeping Nerve running after you close the terminal
The installer sets up a service for you. A manual install does not, so npm run prod stops when the terminal session ends. The simplest durable option is a terminal multiplexer such as tmux:
tmux new -s nerve
cd openclaw-nerve
npm run prod
# Detach with Ctrl+B, then D. Reattach later with:
tmux attach -t nerve
For a server that should survive reboots, use your system's service manager (systemd on most Linux distributions, launchd on macOS) to run npm run prod from the repository directory as your normal user. We do not publish a Nerve-specific unit file because the project's own service definition is generated by its installer and its exact contents are not part of the material we reviewed. If you want the project-managed service, running the installer is the supported way to get it.
Updating a manual install
The maintainers' v1.5.4 release notes include a branch-switching procedure that doubles as a clear model for updating a manual clone: fetch, fast-forward pull, reinstall dependencies, build, and start. Stop the running instance first, then from the repository directory:
cd openclaw-nerve
git fetch origin
git pull --ff-only
npm install
npm run build
npm run prod
Using --ff-only protects you from accidental merges if you have local changes: the pull refuses to proceed instead of creating a merge commit. If it refuses, inspect git status before continuing.
Read release notes before every update. Recent releases changed gateway protocol support (v1.5.4) and the entire UI (v1.6.0), so updating Nerve and OpenClaw out of step can produce errors like the protocol mismatch described earlier.
The built-in updater and rollback
The project describes an updater with rollback that checks health after an update and rolls back if the update fails. That is a strong maintenance signal for long-running deployments. The exact command or UI entry point for the updater is not described in the material we reviewed, so we do not guess at it here. If you rely on manual updates, your rollback is Git itself: note the commit you were on (git rev-parse HEAD) before pulling, and check it out again if the new version misbehaves, followed by npm install and npm run build.
Leaving the retired next branch
Some early adopters ran Nerve from a next branch. That branch is retired and will not receive further updates, because OpenClaw 2026.9 now handles mid-run reconnects natively and master covers what next was built for. The maintainers' procedure to switch back is:
cd ~/nerve # installer default; manual clone: cd openclaw-nerve
git fetch origin
git switch master
git pull --ff-only
rm -rf server-dist # next built to server-dist/server/; remove it so nothing stale keeps running
npm install
npm run build
npm run prod
If you used the installer while on next, the service still points at server-dist/server/index.js. The maintainers say to re-run the installer from master, or point the service at server-dist/index.js.
Optional: GPU-accelerated local Whisper on Linux
Since v1.5.4, local Whisper transcription uses the Vulkan GPU backend on Linux, with cgroup-aware thread counts and an ICD manifest fallback. Practically, this means voice transcription can use a supported GPU on Linux hosts, and thread counts respect container CPU limits. Driver setup for Vulkan is outside Nerve and depends on your hardware.
Remote access to Nerve with a Localtonet HTTP tunnel
With Nerve verified on 127.0.0.1:3080, you can make it reachable from anywhere. Nerve's documented remote options are LAN and Tailscale. Those work well when every client device is on your network or your tailnet. Our HTTP tunnel covers the other case: you want to open the cockpit from a browser on a device where you cannot or do not want to install a VPN client, and the Nerve host sits behind NAT, a carrier-grade NAT connection, or a firewall you do not control.
With Localtonet, the client application on the Nerve machine makes an outbound connection to one of our relay servers. You get a public HTTPS address without router port forwarding, firewall changes, or a public IP. Nerve keeps listening only on 127.0.0.1, and the tunnel exists only while the client is connected and the tunnel is started.
Before you start
The Localtonet client must be installed on the same machine that runs Nerve and connected with that device's AuthToken, because it has to reach 127.0.0.1:3080. On a VPS, that is the server; on a home machine, it is that machine. Treat the AuthToken like a password: never paste it into chats, screenshots, agent workspaces, or Git repositories. Nerve must be running and answering on port 3080, which you confirmed in the verification section. If you plan to use a Custom subdomain or Custom domain, you need balance on your account, and for a Custom domain also a domain you have added in DNS Manager.
Create and start the tunnel
The five steps below follow the Localtonet HTTP tunnel documentation in its order.
Open the HTTP page
In the dashboard, open My Tunnels › HTTP and select Create HTTP Tunnel to open the form.
Choose the URL type
Select Random subdomain (a generated name on the selected domain, nothing extra needed), Custom subdomain (a name you type, using letters, digits and hyphens) or Custom domain (a domain of your own). Custom subdomain and Custom domain require balance on your account, and Custom domain also requires a domain added in DNS Manager. A random subdomain is fine for testing Nerve.
Choose the device and the region
In Device token, select the token used by the Localtonet app on the Nerve machine. In Server region, choose a region close to that device for lower latency.
Enter the local address
Set Local IP address to 127.0.0.1 and Local port to 3080, matching where you verified Nerve. If you chose a custom option, also pick the Domain and, for Custom subdomain, enter the Subdomain. Then select Create tunnel. The tunnel appears under Your tunnels as Tunnel # followed by its ID.
Start the tunnel
Select the start button in the Actions column. When the tunnel runs, its address in the URL column becomes a link that you can open in a browser. If the Localtonet app for that token is offline, a dialog tells you so: start the app, or select Start anyway and the tunnel goes live when the app connects.
Your public address
The address is https:// followed by the host name shown in the URL column. An HTTP tunnel keeps its subdomain until you delete the tunnel; stopping and starting it does not change the address, so you can bookmark it on your phone and use on-demand access without hunting for a new URL each time. The address has no port number, and visitors open it like any other website. When you no longer need remote access, stop the tunnel from the dashboard, or delete it if you want the address retired.
Verify the tunnel end to end
Repeat the browser-level checks from the local verification, this time through the public URL and from another network (a phone on mobile data is a good test). Confirm you are prompted for Nerve's password, that the dashboard shows a connected gateway, and that an agent reply streams in live rather than appearing all at once after a delay. Live streaming is the most sensitive test, because it depends on long-lived real-time connections. WebSocket is documented to pass through HTTP tunnels; if some updates arrive as long HTTP responses instead, the HTTP Timeout setting described below is the first tunnel setting to check. Also try the Kanban board and file browser, which exercise ordinary REST requests.
Test on mobile too. Nerve's layout is responsive with mobile-safe inputs, and v1.5.4 fixed mobile dropdowns clicking through and added a mobile fallback for PDFs in the file browser, so the phone experience is a first-class use case.
Our HTTP tunnel documentation describes a warning page on the Free plan. If you are on the Free plan, visitors to your Nerve URL may see a Localtonet warning page before the dashboard. Check the current HTTP tunnel documentation for how it behaves on your plan.
Modern browsers generally only allow microphone access on secure origins such as HTTPS or localhost. Opening Nerve over plain HTTP on a LAN address may therefore block push-to-talk. Our HTTP tunnels serve the public URL over HTTPS with a certificate we provide and renew, which meets the secure-origin requirement. Still verify voice in your browser, since microphone permissions also depend on browser and device settings.
The Host header and WS_ALLOWED_HOSTS
Through an HTTP tunnel, your local service receives the host name the visitor used, which is the tunnel address, not 127.0.0.1:3080. Most applications do not care. Some web servers and apps, however, pick a site by host name or validate the host or origin of incoming connections. Nerve has a WS_ALLOWED_HOSTS setting, documented in the context of remote gateways; whether it, or another Nerve setting, also checks the host of browser connections is not established in the material we reviewed, and we do not claim Nerve requires any change here.
If you find that Nerve rejects connections only when they arrive with the tunnel host name, you have two possible levers. On the Nerve side, check its configuration reference for host or origin allow lists and add the tunnel host name. On the tunnel side, open Headers in the tunnel settings and add a request header named Host with the name your service expects; Nerve then receives that host name instead of the tunnel address. Note that a Host override changes only the Host header, so if an application also validates the browser's Origin header, the Nerve-side setting is the more direct fix.
Monitoring tunnel connectivity with webhooks
If you rely on the tunnel to reach Nerve while away, it helps to know when it drops. Our platform-wide webhooks call a URL of yours with an HTTP POST when an AuthToken or a tunnel in a selected token group changes to Connected or Disconnected. You choose whether to watch tokens (the client coming online or going offline), tunnels, or both, and whether to be notified on connect, disconnect, or both. The JSON body has four fields: Id (the AuthToken for token events, or the numeric tunnel ID as a string for tunnel events), ActionDate (ISO 8601, with its own offset), Type ("Token" or "Tunnel") and Status ("Connected" or "Disconnected"). A tunnel event looks like this:
{
"Id": "<TUNNEL_ID>",
"ActionDate": "2026-01-15T10:31:12.7654321+03:00",
"Type": "Tunnel",
"Status": "Connected"
}
A few delivery facts shape how you build the receiver:
- No retries. A failed call is not repeated, so your endpoint should be available and answer quickly.
- No signature. Requests carry no signature or secret header. Put a long random value into the webhook URL (as a path segment or query parameter) and check it in your receiver.
- Slight lag on disconnects. A disconnect is reported when Localtonet registers that the client is gone, which can be a little later than the moment the device lost its connection.
- Own dashboard only. Webhooks are created under Webhooks in your own account dashboard; the menu item is not shown in a team dashboard.
- No editing. A webhook cannot be edited. To change its URL, group or switches, delete it and create a new one. You can create several webhooks for the same group.
See the Localtonet webhook documentation for the full setup and a test procedure. Keep in mind that webhooks report client and tunnel state only. A tunnel can be Connected while Nerve has crashed or the OpenClaw gateway is down, so a webhook is not a Nerve health check.
Securing remote access to Nerve

Nerve is a high-privilege interface. From it, you can read and edit agent memory, identity and skills, edit files in agent workspaces, approve work, change models, and talk to agents that may be able to run commands. Anyone who reaches an unprotected Nerve dashboard can do the same. A tunnel does not change Nerve's authorization model; it only changes who can reach the login screen. Treat the public URL accordingly, and build protection in layers: tunnel-level controls in front, Nerve's own password behind them.
Enable Nerve's password authentication first
Nerve's password is mandatory for this setup, regardless of which tunnel controls you add. The project states that setup offers password auth before you expose Nerve, and that opening it to the network makes setup offer password auth. Because the Localtonet workflow keeps Nerve in localhost mode, rerun npm run setup and accept password authentication if the wizard offers it in that mode. The material we reviewed does not say whether the wizard offers password auth when localhost is selected, or whether there is a separate setting to force it. If the wizard does not offer it in localhost mode, consult Nerve's configuration reference for the authentication setting before starting any tunnel, and do not start a public tunnel to an unauthenticated dashboard.
A random subdomain is not a secret worth relying on. URLs leak through browser history, shared screenshots, chat previews and logs. Authentication must protect the dashboard on its own, regardless of how obscure the address is.
Tunnel settings that add protection in front of Nerve
Every HTTP tunnel has a Tunnel settings panel, opened with the settings button in the Actions column. Several of its settings stop unwanted visitors before a request ever reaches Nerve. Availability of individual settings may vary by plan or dashboard, so check what your account shows.
| Setting | What it does | Recommendation for Nerve |
|---|---|---|
| Is Only Https? | Serves the public URL over HTTPS only; a request to http:// is redirected to https://. While off, the address answers on both. | Turn it on. Nerve carries a login and private agent data. |
| Basic Authentication? | Asks visitors for a username and password before the tunnel passes the request on. | A useful outer gate. Use different credentials from Nerve's password. |
| IP Restriction | Controls which client IP addresses can access the tunnel. | Use it when you reach Nerve from known, stable addresses. |
| SSO Providers | Visitors sign in with one of your identity providers before they can open the tunnel. Providers are managed with the SSO button at the top of the page. | Good fit for teams sharing one Nerve instance. |
| WAF button (Actions column) | Opens WAF Setting; the button shows whether the Web Application Firewall is not configured, active or inactive. | Review and configure it for an internet-facing dashboard. |
| Expiration Date | Stops the tunnel on a date you set. | Use it for temporary access, such as a trip or a shared demo. |
Two further settings are worth knowing. HTTP Timeout sets how long the server waits for a response from your local application, from 1 to 600 seconds; review it if long agent responses or streamed updates are cut off. Is SslStream? tells the app to connect to the local service with TLS; Nerve listens on plain HTTP on 127.0.0.1:3080, so leave it off. Also be aware that with an HTTP tunnel, TLS ends at the Localtonet server, where traffic is decrypted before it travels through the tunnel to your device. If you need encryption all the way to a service that presents its own certificate, our documentation points to a TLS tunnel instead.
Additional practices that reduce risk
- Start the tunnel only when you need it. Because tunnels must be explicitly started and can be stopped from the dashboard, on-demand access is a simple way to shrink exposure time, and the address stays the same between sessions.
- Use a strong, unique password for Nerve, stored in a password manager, and do not reuse your OpenClaw or provider credentials.
- Keep the gateway private. Tunnel the Nerve dashboard, not the gateway port. Nerve talks to the gateway locally (or to your remote gateway over the path you configured).
- Protect your AuthToken. Agents can read their workspaces; never store the Localtonet token anywhere an agent can read or commit it.
- Review the logs. Request Log and Activity Log show who reached the tunnel and when it was started, stopped or changed.
- Stay current. Follow Nerve releases and the project's security policy, and update OpenClaw and Nerve together.
Localtonet tunnel versus Tailscale for Nerve
Nerve's documentation features Tailscale, and it is a good choice when every device you use can join your tailnet. A Localtonet HTTP tunnel is a good choice when you want a browser-only client experience, a public HTTPS address, or access from devices where installing a VPN client is not possible. They solve related problems differently: a tailnet keeps Nerve private to enrolled devices, while a tunnel publishes a URL protected by tunnel access controls and Nerve's own authentication. If you want a private mesh network instead of a public URL, our VPN Manager is the Localtonet feature built for that; a standard HTTP tunnel is not a VPN.
Troubleshooting Nerve installs and remote access
Most problems fall into three groups: version mismatches between Nerve and OpenClaw, Nerve not running or not listening where you expect, and tunnel state or settings. Work from local to remote: if it fails on 127.0.0.1:3080, fix that before looking at the tunnel. For the remote side, the tunnel's Request Log (to inspect requests), Activity Log (starts, stops and setting changes) and Tunnel Health (health checks) are the first places to look.
| Symptom | Likely cause | What to do |
|---|---|---|
Auth failed: protocol mismatch |
Nerve v1.5.3 or older against a gateway requiring connect protocol v4 | Update to v1.5.4 or newer using the update sequence above |
| Replies freeze after a few characters | Streaming bug with OpenClaw 2026.9 fixed in v1.5.4 | Update Nerve; then verify streaming locally before testing the tunnel |
| Crons tab cannot load | Known issue on OpenClaw 2026.9: the gateway's HTTP tool endpoint denies the automations tool by default | Expected on v1.5.4. A fix was planned for 1.6.0; confirm in the 1.6.0 release notes whether it shipped |
npm run setup crashes reading the gateway token |
Token stored as a SecretRef on Nerve older than v1.5.4 | Update Nerve; current setup resolves env and file references where it can |
| Setup cannot find your OpenClaw config | Config is in a non-default location | Run setup with OPENCLAW_CONFIG_PATH pointing to it |
npm install fails |
Node.js older than 22 | Check node --version and upgrade |
| Other LAN devices cannot open Nerve | Nerve binds to 127.0.0.1 by default, by design | Expected in localhost mode; use the tunnel or SSH forwarding, or rerun setup for LAN mode |
| Public URL does not load | Tunnel not started, Localtonet client disconnected, or Nerve stopped | Check that the URL column shows a link, confirm the client is running (a started tunnel goes live only when the app connects), then curl -I http://127.0.0.1:3080 |
| Visitors see a Localtonet page before Nerve | Warning page shown on the Free plan | See the Free plan warning page section of the HTTP tunnel documentation |
| Page loads through tunnel but nothing updates live | Host or origin validation in the app, or long responses timing out | Confirm streaming works locally first; if only remote fails, see the section below |
| Long agent responses are cut off remotely | Response exceeds the tunnel's HTTP Timeout | Raise HTTP Timeout (1 to 600 seconds) in the tunnel settings |
| Old behavior after leaving the next branch | Stale server-dist/server/ build or service path |
Remove server-dist, rebuild, and point the service at server-dist/index.js |
When live updates fail only through the tunnel
If the dashboard streams correctly on 127.0.0.1 but not through the public URL, start by ruling out the tunnel transport itself: WebSocket connections are documented to pass through an HTTP tunnel, and TLS is handled at the Localtonet server with a certificate we provide, so neither should require changes on Nerve's side. What does differ is the host name. Nerve now receives the tunnel host name instead of 127.0.0.1:3080, and the browser's origin is the HTTPS tunnel address.
Work through these checks in order. Open your browser's developer tools (Network tab, filtered to WS) and note the exact error for the failing connection. Look at the tunnel's Request Log to see whether the request reached the tunnel and what status came back. If Nerve appears to reject the tunnel host, check Nerve's configuration reference for host or origin settings that apply to browser access (WS_ALLOWED_HOSTS is documented for remote gateways; whether it covers browser hosts is not established in the material we reviewed). As a tunnel-side lever, you can set a Host request header under Headers in the tunnel settings. If updates arrive as long HTTP responses rather than over WebSocket, our documentation does not specifically cover that pattern, so check whether they end at a consistent duration and adjust HTTP Timeout. Finally, confirm you opened the HTTPS address, and consider turning on Is Only Https? so the plain HTTP address cannot be used by mistake.
Port 3080 is already in use
If ss or lsof shows another process on port 3080, stop that process or move it. The material we reviewed documents 3080 as Nerve's port but does not document how to change it, so we do not suggest a setting name. If you do change the port through Nerve's documented configuration, update the tunnel's local port to match under Tunnel Details in the tunnel settings panel.
Frequently asked questions
What is openclaw-nerve?
Nerve (repository name openclaw-nerve) is an open-source, MIT-licensed, self-hosted web cockpit for OpenClaw. It provides real-time agent sessions and sub-agent trees, a Kanban board agents work from, workspace file control, voice conversations, inline charts, and usage visibility. It connects to an OpenClaw gateway rather than running agents itself. The latest listed release is v1.6.0, a complete UI overhaul.
What are the commands for a manual Nerve install?
Clone the repository with git clone https://github.com/daggerhashimoto/openclaw-nerve.git, enter the folder, then run npm install, npm run setup, and npm run prod. You need macOS or Linux, Node.js 22 or newer, the openclaw CLI, and a reachable OpenClaw gateway.
Which port and address does Nerve use?
Nerve serves its dashboard on port 3080 and binds to 127.0.0.1 by default, so the local address is http://127.0.0.1:3080. The project's illustration shows the OpenClaw gateway on port 18789.
Why use an HTTP tunnel instead of a TCP tunnel for Nerve?
Nerve is a web application, and our HTTP tunnel type is built for web apps. WebSocket connections pass through an HTTP tunnel, and visitors connect over HTTPS with a certificate we provide and renew, which also helps with browser features such as microphone access that generally require a secure origin. HTTP tunnels also give you web-specific controls such as Is Only Https?, Basic Authentication, SSO and a WAF.
Do I have to change Nerve's bind address to use Localtonet?
No. Run the Localtonet client on the same machine as Nerve and point the HTTP tunnel at Local IP address 127.0.0.1 and Local port 3080. Nerve can stay in its default localhost mode. You should still enable Nerve's password authentication, because the tunnel makes the dashboard reachable from the internet.
Does my Nerve URL change when I stop and start the tunnel?
No. An HTTP tunnel keeps its subdomain until you delete the tunnel, and stopping and starting does not change it. The address is HTTPS with no port number, so you can bookmark it and start the tunnel only when you need remote access.
Why does Nerve say "Auth failed: protocol mismatch"?
Current OpenClaw gateways require connect protocol v4. Nerve v1.5.3 did not support it and failed with that error. Update to v1.5.4 or newer by pulling the latest master, reinstalling dependencies, rebuilding, and restarting.
Does Nerve run on Windows?
The project lists macOS and Linux as supported. Windows is not listed, and we have no evidence about running it under WSL, so treat that as unsupported and untested.
Can a Localtonet webhook tell me when Nerve goes down?
Not directly. Our webhooks report when an AuthToken or tunnel connects or disconnects, so they tell you when the client or tunnel drops. They do not check whether Nerve or the OpenClaw gateway is healthy. Failed webhook calls are not retried and carry no signature, so protect your receiver with a long random value in the URL.
Does the tunnel keep working when my computer sleeps or Nerve stops?
No. A Localtonet tunnel is only available while the client device is connected and the tunnel is running, and it can only serve Nerve while npm run prod (or your service) is alive. For always-on access, run Nerve and the Localtonet client on a machine that stays online, and keep Nerve running under tmux or a service manager.
Open your OpenClaw cockpit from anywhere
Once Nerve answers on 127.0.0.1:3080 with password authentication enabled, create a Localtonet HTTP tunnel to it, turn on Is Only Https? and the access controls that fit your setup, and reach your agents, Kanban board and workspaces from any browser, without port forwarding or a public IP.
Get Started Free →Corrections & updates
Substantive changes approved by the Localtonet editorial team are listed transparently below.
Localtonet is a secure multi-protocol tunneling and proxy platform designed to expose localhost, devices, private services, and AI agents to the public internet supporting HTTP/HTTPS tunnels, TCP/UDP forwarding, mobile proxy infrastructure, file server publishing, latency-optimized game connectivity, and developer-ready AI agent endpoint exposure from a single unified control plane.