Skip to content

bore

Minimal self-hosted TCP tunnel in Rust for exposing local ports through a public server

Permissive (OSI) · MIT
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

27

Health

Dormant

Overview

Stars

11,630

Last commit

10 months ago

Feb 2026

Repository age

4 years

since Apr 2022

Latest version

v0.6.0

Jun 2025

Contributors

–

Releases

0

last 12 months

Docker pulls

120k

ekzhang/bore

Language

Rust

bore is a small TCP tunnel written in Rust. It forwards a port on your machine to a remote server, which makes the service reachable from the internet even behind NAT or a firewall. The remote port is assigned randomly unless you pick one.

You run one binary as the client and one as the server. The client command is bore local with a port and a --to address. Options let you choose the remote port, expose another host on your local network, and set a shared secret for authentication. It forwards raw TCP only and has no extra features by design. The code is around 400 lines of safe, async Rust.

You can install it with Cargo, Homebrew, the AUR, a prebuilt binary for macOS, Windows or Linux, or a Docker image built for 64-bit AMD. It is MIT licensed. It works like ngrok or localtunnel, but you can run your own server instead of relying on a hosted one.

Who it's for

Developers sharing a local dev server

One command exposes a local port for testing webhooks or demos.

Skip if: You need HTTPS with custom domains; pick an HTTP-aware tunnel.

Homelab owners with a cheap VPS

You can run the server on your own host and reach home services behind NAT.

Skip if: You want a managed service with dashboards and request inspection.

The problem it solves

Services on your laptop or home network are not reachable from outside because of NAT and firewalls. Hosted tunnel services add accounts and limits. This gives you a tunnel you run yourself.

Strengths

  • Single binary for client and server, with a short command line
  • Self-hostable with an optional shared secret
  • Available through Cargo, Homebrew, AUR, binaries and Docker
  • MIT licensed with a very small codebase

Trade-offs

  • TCP only, with no HTTP routing, custom domains or TLS handling
  • No new releases in the last year; the project is dormant
  • Docker image is built for AMD 64-bit only
  • No web dashboard or request inspection

Self-host bore

Self-hostable
Yes
Docker image
ekzhang/bore

Quick start

docker run -it --init --rm --network host ekzhang/bore <ARGS>

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is bore free?

Yes. It is MIT licensed and free to use and self-host.

Can I self-host the server?

Yes. The same binary runs as the server, and you point clients to it with --to.

How do I install it?

Use cargo install bore-cli, brew install bore-cli, the AUR package, a prebuilt binary or Docker.

Can I choose the public port?

Yes, with the --port option. The command fails if that port is unavailable.

Similar tools in Tunnels, VPNs and networking

nebula

Tunnels, VPNs and networking

Certificate-based mesh overlay network for teams that run their own infrastructure

19k 1.2k today Thriving MIT

Replaces Tailscale

NetBird

Tunnels, VPNs and networking

WireGuard-based mesh VPN and zero trust access platform you can self-host

31k 1.9k today Thriving AGPL-3.0

Replaces TailscaleOpenVPN

chisel

Tunnels, VPNs and networking

Single-binary TCP and UDP tunnel over HTTP with SSH encryption, for getting through

17k 1.6k 43 days ago Active MIT

Headscale

Tunnels, VPNs and networking

Self-hosted Tailscale control server for homelabs and small teams running one tailnet

46k 2.7k yesterday Thriving BSD-3-Clause

Replaces Tailscale

sish

Tunnels, VPNs and networking

Self-hosted SSH tunnel server for exposing local apps without a custom client

4.8k 340 8 days ago Thriving MIT

cilium

Tunnels, VPNs and networking

eBPF-based networking, security and observability for Kubernetes clusters

26k 4.3k today Thriving Apache-2.0