Skip to content

Quick Start

Terminal window
# macOS / Linux
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/b-rajesh/nila-releases/releases/latest/download/nila-tunnel-installer.sh | sh
# Or via Homebrew
brew install b-rajesh/nila-tunnel/nila-tunnel
Terminal window
nila-tunnel install

Generates a Root CA and default config. No password prompt.

Terminal window
node server.js # port 3000
python manage.py # port 8000
cargo run # whatever port
Terminal window
nila-tunnel register -d app.test -p 3000 # register a service
nila-tunnel start # start the proxy

First run prompts for your password once to trust the Root CA.

Navigate to https://app.test:8443/ — green lock, no warnings.

Services are hot-reloaded — register while the proxy is running:

Terminal window
nila-tunnel register -d api.test -p 4000
nila-tunnel register -d ai.test --path /v1/chat -p 8000 --request-timeout 120000
Terminal window
nila-tunnel status # human-readable
nila-tunnel status --json # for AI agents and scripts
Terminal window
nila-tunnel log # daemon logs
nila-tunnel log requests # structured request logs (JSONL)
nila-tunnel log requests -f # follow in real time
Terminal window
nila-tunnel deregister -d api.test # remove (hot-reloaded)
nila-tunnel restart # full restart if needed
nila-tunnel stop # stop the proxy
Terminal window
nila-tunnel start --mode privileged # https://app.test/ (port 443)