TL;DR — Quick Summary
bore is a simple, fast TCP tunnel to expose local ports to the internet. Self-hosted ngrok alternative written in Rust.
bore exposes local ports to the internet. Simple, fast, self-hostable — ngrok without the fuss.
Installation
# Cargo
cargo install bore-cli
# Homebrew
brew install bore-cli
Usage
# Expose local port 8080 via public relay
bore local 8080 --to bore.pub
# Output: listening at bore.pub:XXXXX
# Expose with specific remote port
bore local 3000 --to bore.pub --port 9000
# Self-hosted server
bore server --min-port 1024 --max-port 65535
# Connect to self-hosted
bore local 8080 --to my-server.com
# With shared secret
bore local 8080 --to bore.pub --secret my-secret-key
Summary
- bore: simple TCP tunnel in Rust
- Expose local dev servers to the internet
- Self-hostable — no account or limits
- Secret-based authentication
- Alternative to ngrok, localtunnel