Nearby mode connects the iPhone directly to one Mac or Windows computer on the same private Wi-Fi. It does not use Tailscale, the internet, or Chrome DevTools. The existing Tailscale profile can remain saved as a separate remote route.
- Put the iPhone and computer on the same normal Wi-Fi network. Guest networks and access points with client isolation usually block device-to-device traffic.
- Keep Wi-Fi enabled on the phone.
- Under iPhone Settings > Privacy & Security > Local Network, allow Codex Deck.
- Install the normal Codex Deck launcher or watcher on the computer first.
On macOS, open Terminal in the extracted macOS launcher directory and run:
./start-codex-deck.sh mobile-local-configThe installed watcher notices the new configuration automatically. Codex does not need to restart.
On Windows, open PowerShell in the extracted Windows launcher directory and run:
.\Configure-CodexDeckMobile.ps1 -LocalIf Windows Firewall asks, allow Node.js on Private networks only. Then reload only the Codex Deck Stream Deck plugin so it reads the optional listener config; do not restart Codex.
Each command opens a private pairing QR code. Scan it with the normal iPhone Camera app and accept Open in Codex Deck. Do not share the QR code: it contains the authentication secret and pinned certificate identity.
- Open Codex Deck on the iPhone and wait until the newly paired computer shows Nearby and Connected.
- Leave Wi-Fi on, then turn Tailscale off on the iPhone.
- In Codex Deck, open Settings > Computers, select the Nearby profile, and use its connection test.
- Return to the dashboard. Agent states and usage should update, and a safe control such as selecting an agent should return a command receipt.
- Confirm the route remains Nearby. A private endpoint begins with
10.,172.16through172.31, or192.168; it is not a*.ts.netname.
Turning Tailscale off before a Nearby profile has been added will disconnect an existing remote-only profile. That is expected and does not indicate a bug.
- Confirm both devices are on the same SSID and neither is on guest Wi-Fi.
- Toggle the iPhone's Local Network permission off and back on, then reopen the app.
- Temporarily disable another VPN or network filter that may suppress Bonjour.
- Re-run the platform command without a rotate option. Rotating credentials invalidates the older QR profile and should be reserved for a lost or exposed pairing code.
- On Windows, confirm the firewall rule is Private-only and reload the Stream
Deck plugin. On macOS, inspect
~/Library/Application Support/CodexDeck/watcher.log.
To disable only the local listener later:
./start-codex-deck.sh mobile-local-disable.\Configure-CodexDeckMobile.ps1 -Local -DisableDisabling Nearby does not remove the Tailscale profile, delete user icons, or change Codex. Full transport and security details are in the iPhone guide.