Skip to content

Troubleshooting

Terminal window
nila-tunnel doctor

Checks CA presence, trust status, port availability, DNS resolver, and config.

Cause: Root CA not in the OS trust store.

Terminal window
nila-tunnel stop
nila-tunnel start # re-trusts CA on first run

Cause: DNS resolver not registered.

Terminal window
# Verify resolver exists (macOS)
cat /etc/resolver/test
# Should show: nameserver 127.0.0.1 / port 15353
# If missing, restart to re-register
nila-tunnel stop && nila-tunnel start

Cause: Another nila-tunnel instance is running.

Terminal window
nila-tunnel stop
nila-tunnel start

Cause: Proxy was started with sudo.

Terminal window
sudo nila-tunnel stop

Two password prompts during install (macOS)

Section titled “Two password prompts during install (macOS)”

macOS Big Sur+ triggers a separate authorization UI for certificate trust settings. This is a platform constraint — one-time setup.

Terminal window
# Daemon logs
tail -f ~/.nila-tunnel/nila-tunnel.log
# Verbose output
RUST_LOG=nila_tunnel_core=debug nila-tunnel start -F
Terminal window
nila-tunnel uninstall
nila-tunnel install
nila-tunnel start