cdp_url, live_view_url) is rewritten to point at the Dock, so CDP, VNC and the live view page all work without any client reaching the internet. The Dock can also let Anchor browsers open pages hosted on your network; see Reach your intranet.
Contact Anchor to get the binary. Builds are available for Linux (x86-64 and arm64) and Windows (x86-64).
Where traffic stays

Network requirements
Allow the three hostnames rather than IP addresses;
live.anchorbrowser.io is served from a CDN and its addresses rotate. If your network requires an egress proxy, the Dock supports HTTPS_PROXY (see Configuration).
If a firewall blocks clients from reaching the Dock, open the listen port to them.
Install
Run these on the Dock host: withsudo on Linux, from a PowerShell window opened as Administrator on Windows. The wizard is the same on both; only paths and the way the Dock is kept running differ.
- Linux
- Windows
1
Fetch the binary
Copy
anchor-dock onto the host and install it:2
Run the setup wizard
/etc/anchor/dock.env, creates the Dock’s identity key at /etc/anchor/id_ed25519 if missing, checks that all three Anchor hosts are reachable, asks for a connection token to register the Dock, and offers to start serving. Answer n to that if you are about to set up the service below. There is one env file and one key per host, whichever user runs the commands.Everything else (TLS, intranet allowlists, a private Anchor region, an egress proxy) is set by editing the env file. See Configuration.3
Run it as a service
A shell session that closes takes the Dock with it. Use systemd:The service runs as root by default so it can read Then add
/etc/anchor, which setup creates with mode 0700. To run it as an unprivileged user instead, give that user the directory and name it in the unit:User=anchor under [Service]. A log line env file: open /etc/anchor/dock.env: permission denied means the service user cannot read the directory.Register the Dock
A Dock joins your project by spending a one-time connection token. Until it is registered, Anchor refuses to create sessions for requests that come through it.1
Create a connection token
In the dashboard, open Connectors and select Create token, or call the API:The token starts with
act_ and is shown once. The name you give it becomes the Dock’s name. A token registers one machine and expires after an hour if unused; a project can hold up to five unused tokens at a time. The same tokens register connectors too.2
Spend it on the Dock host
Paste the token when The Dock sends its public key with the token and prints the id it was given:
setup asks for it, or run register:anchor answered 401 means the token is wrong, expired or already used; create a new one. anchor answered 409 means the project already has a connector or Dock with that name, or a Dock with this public key.Several Docks
A project can register several Docks, for example one per site. Each host runs its own Dock with its own identity key and registers with its own token. A public key registers once; to move a Dock to a new key, delete it and register again. Sessions created outside your network name the Dock they use withdock_id.
Manage Docks
The Connectors page lists your Docks with their id, status and last connection, and deletes them. The same is available from the API:online and last_attached_at track the lasting connection. A Dock that does not open one shows as offline, while sessions created through it on your network keep working.
Commands
setup, check, serve and register accept --env-file PATH. The default is /etc/anchor/dock.env, which is why they run under sudo on Linux. On Windows that default resolves to C:\etc\anchor\dock.env; the steps above pass --env-file C:\ProgramData\Anchor\dock.env instead so the settings live where Windows keeps machine-wide state.
Use it
Point your client at the Dock instead ofapi.anchorbrowser.io. Authentication is unchanged: send your Anchor API key.
http://10.20.0.5:8080 gets ws://10.20.0.5:8080/cdp?… back.
Connect Playwright or Puppeteer to cdp_url and open live_view_url in a browser on your network, exactly as you would with the cloud URLs. Every /v1 and /v2 endpoint is available through the Dock; requests to any other path are refused.
Scoped access tokens
Scoped access tokens work through the Dock. Create the session or mint tokens through the Dock, and every token URL points at the Dock:cdp_url, live_view_url, live_view_read_only_url, and the url of each entry in scoped_access_tokens or tokens.
allowed_ips is checked against the address Anchor sees. For a connection through the Dock, that is the Dock’s public address, not the client’s address on your network: to restrict a token to clients that reach it through the Dock, list every address the Dock’s traffic leaves your network from.
How traffic moves
The client asks the Dock for a session. The Anchor browser app answers with cloud WebSocket URLs. The Dock rewritescdp_url and live_view_url, and the sockets the client opens stay on the Dock. The Dock relays them to the app, which carries them to the browser.
The steps below the dashed line apply when Anchor browsers are allowed onto your network. The Dock dials the app to attach the proxy, and the browser opens internal hosts through it. The Dock places the TCP connection, so the intranet host sees the Dock’s address.
Configuration
Settings live in the env file (/etc/anchor/dock.env on Linux, C:\ProgramData\Anchor\dock.env in the Windows steps above) as KEY=VALUE lines. setup writes every key; edit the file for anything the wizard does not ask about, then restart the service. Rerunning setup keeps your values but rewrites the file, so comments you add are lost. Environment variables named DOCK_* and dock serve flags override the file.
setup asks for DOCK_LISTEN and DOCK_INTRANET_ACCESS. Set the rest in the file.
Sizes accept plain bytes or a
k/m suffix.
The egress proxy comes from this file only. The Dock does not read the operating system’s proxy settings or PAC files, and the proxy must accept unauthenticated or Basic-authenticated connections; NTLM and Kerberos proxies are not supported. If yours requires them, ask for a rule that lets the Dock host reach the three Anchor hostnames directly.
Reach your intranet from Anchor browsers
Off by default. WithDOCK_INTRANET_ACCESS=on, a session that uses the dock proxy type sends its browser traffic out through the Dock, so it can open pages hosted on your network. The browsers still run in Anchor’s cloud; only their traffic leaves through the Dock, and the intranet host sees the Dock’s address. Nothing inbound is opened on your firewall.
The proxy is {"active": true, "type": "dock"}, with an optional dock_id naming the Dock to use. Any other proxy field is rejected.
DOCK_ALLOW_DOMAINS and DOCK_ALLOW_CIDRS limit where those browsers may connect. A destination passes when its name is a listed domain or a subdomain of one, or when every address it resolves to falls inside a listed range. The lists cover all of the session’s traffic, so public sites that are not listed will not load. With both empty, any host the Dock can reach is allowed, and setup and serve warn about it. Link-local and cloud metadata addresses are always refused; loopback is refused unless you list it. The Dock’s connection for a session closes when the session ends.
Sessions created on your network
Send the create through the Dock, as in the example above. The session uses the Dock the request came through, sodock_id is not needed; if you send it, it must be that Dock’s id. The Dock reads the session id from the response and opens that session’s connection itself. Async session creation does not accept the dock proxy type on requests sent through the Dock.
Sessions created outside your network
SetDOCK_OPEN_LASTING_CONNECTION=on in the env file and restart the Dock. It requires DOCK_INTRANET_ACCESS=on. The Dock then keeps one outbound connection to Anchor, and sessions started from the API, the dashboard or a task run can use the same proxy. Anchor asks the Dock over that connection to open the session’s pipe. Ask Anchor to enable this for your project. The same proxy can be saved on an application, so a task linked to that application uses the Dock.
With one Dock in the project, dock_id can be left out. With several, name the Dock by the id register printed, or the one listed on the Connectors page:
cdp_url and live_view_url in that response point at Anchor, because the client is not on your network. The browser’s own traffic still goes through the Dock. If the Dock cannot carry the session, the create fails instead of starting a session with no network; see Dock proxy errors.
Dock proxy errors
A create that uses thedock proxy and cannot be served answers with an error message that starts with one of these codes:
Security notes
- The Dock does not hold your API key. Clients present it on every request, and the Dock forwards it to Anchor together with a signature from the Dock’s own identity key.
- The Dock serves plain HTTP. On a network you do not fully trust, terminate TLS in a reverse proxy that passes the original
Hostheader and WebSocket upgrades, and setDOCK_PUBLIC_URLto thehttps://address; rewritten URLs then usewss://and the live view connects encrypted. - With intranet access on, set an allowlist. Without one, a browser in a dock session can reach any host the Dock can.
- Anchor can lock your project so that sessions are created only through your Docks; ask Anchor to enable it once they are running.
- Delete a Dock you retire, from the Connectors page or with
DELETE /v1/docks/{dock_id}. Its key can no longer create sessions for your project. live_view.one_time_urlis not enforced for links opened through the Dock. The single-use check is made by the viewer page against the Anchor API, which clients on your network cannot reach.- The headless (DevTools) live view is returned unchanged and requires direct access to Anchor. Use the default headful live view on restricted networks.

