localhost.
Setup
Start DarkDuck in private authenticated mode
DARKDUCK_DEPLOYMENT_MODE=authenticatedDARKDUCK_DEPLOYMENT_EXPOSURE=privateDARKDUCK_AUTH_BASE_URL_MODE=autoHOST=0.0.0.0(bind on all interfaces)
Find your Tailscale address
From the machine running DarkDuck:You can also use your Tailscale MagicDNS hostname (e.g.
my-macbook.tailnet.ts.net).Allow custom hostnames (if needed)
If you access DarkDuck with a custom private hostname, add it to the allowlist:
Troubleshooting
| Problem | Solution |
|---|---|
| Login or redirect errors on a private hostname | Add it with darkduck allowed-hostname |
App only works on localhost | Make sure you started with --tailscale-auth (or set HOST=0.0.0.0 in private mode) |
| Can connect locally but not remotely | Verify both devices are on the same Tailscale network and port 3100 is reachable |
| CORS or cookie issues | Ensure the hostname matches what was registered with allowed-hostname |
Agent Access Over Tailscale
When running agents on remote machines that connect to DarkDuck over Tailscale, set the agent’sDARKDUCK_API_URL to the Tailscale-accessible URL: