selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
chisel logo

Self-host chisel

v1.12.0

TCP/UDP tunnel over HTTP, encrypted with SSH

ReleaseOpen SourceMIT
docker run --rm -it jpillora/chisel --help
Updated2 months ago
LanguageGo
Setup difficultyEasy
Stars
16 743
Ports
8080 (Default HTTP listening port of the chisel server (overridable with --port/-p or the PORT env var)), 1080 (Default SOCKS5 listener port for the `socks` / `udpsocks` remotes (TCP and UDP))
Docker
jpillora/chisel

What is chisel?

Chisel is a small Go program that carries TCP and UDP traffic inside an HTTP/WebSocket connection, with every tunnel wrapped in the SSH protocol for encryption and authentication. One executable plays either role: chisel server listens on a public address, and chisel client maps ports through it, so a box behind NAT or a strict firewall can publish a service, dial an internal host, or act as the exit node through reverse port forwarding. The server can also expose an internal SOCKS5 proxy (with UDP ASSOCIATE via udpsocks), double as a plain HTTP reverse proxy in front of another backend, and accept client connections tunneled over stdio so OpenSSH can travel through it with ProxyCommand. Access control is a users.json auth file of per-user address regular expressions, reloaded live, and TLS can be terminated with your own certificates or fetched automatically from Let's Encrypt with --tls-domain. There is no web UI at all: behaviour comes from command-line flags and a handful of CHISEL_ environment variables. You install it from GitHub releases (including .deb, .rpm and .apk packages), the curl install script, the jpillora/chisel Docker Hub image or its ghcr.io mirror, Fedora's package, or go install. Because WebSockets are required, Google App Engine standard cannot host the server.

Should you self-host chisel?

chisel scores 72/100 on selfhost.directory (how scoring works) and ranks #3 of 23 in Remote Access. It has 16 743 GitHub stars, +126 in the last 30 days.

It shipped 6 stable releases in the past year. The latest, v1.13.0, came out on 11 October 2026. New versions land roughly every 6 weeks.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is Pangolin (76/100, 23 346 stars). It scores higher overall, so compare the two before you pick. See chisel vs Pangolin side by side.

Features

  • Automatic reconnect with backoff
  • Client authentication
  • Live-reloading auth file
  • Multiple tunnels per connection
  • Mutual TLS
  • Per-user address allow-lists
  • Reverse port forwarding
  • Reverse proxy mode
  • SOCKS5 Proxy
  • SSH-encrypted tunnels
  • SSH over HTTP via stdio
  • TCP Tunneling
  • TLS with Let's Encrypt
  • UDP tunneling

chisel README

Chisel

GoDoc CI

Chisel is a fast TCP/UDP tunnel, transported over HTTP, secured via SSH. Single executable including both client and server. Written in Go (golang). Chisel is mainly useful for passing through firewalls, though it can also be used to provide a secure endpoint into your network.

How to install chisel

Install chisel with Docker

docker run --rm -it jpillora/chisel --help

Images are multi-arch and published to both Docker Hub (`jpillora/chisel`) and GitHub Container Registry (`ghcr.io/jpillora/chisel`).

How to configure chisel

  • HOSTEnvironment variable the server uses when --host is not given
  • PORTEnvironment variable the server uses when --port is not given
  • CHISEL_KEYEnvironment variable default for the deprecated --key seed string
  • CHISEL_KEY_FILEEnvironment variable default for --keyfile
  • AUTHEnvironment variable default for --auth

chisel releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Remote Access

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…