chisel
by QuenchWorks
chisel: a fast TCP/UDP tunnel over HTTP, SSH-encrypted, for reaching services behind firewalls. Hardened by QuenchWorks: built from source, nonroot, CVE-gated, cosign-signed and pinned by digest.
About this chart
Quenchworks chisel
Hardened chisel, a TCP/UDP tunnel carried over HTTP and secured with SSH. Run the server in the cluster and clients reach services behind it (forward tunnels), expose their own services through it (reverse tunnels) or use it as a SOCKS5 proxy. The image is built from source, runs as uid 1001 and is CVE-gated at build, cosign-signed and pinned by digest.
Install
helm install tunnel oci://ghcr.io/quenchworks/charts/chisel
kubectl get secret tunnel-chisel -o jsonpath='{.data.password}' | base64 -d
chisel client --auth chisel:<password> http://tunnel-chisel:8080 5432:postgres:5432
Authentication and key
Every client authenticates; there is no open mode. auth.username gets a generated password
(kept across upgrades) unless auth.password is set. The server's SSH key is generated once
into the same Secret, so its fingerprint stays stable and clients can pin it with
--fingerprint.
Configuration
| Key | Default | What it does |
|---|---|---|
port | 8080 | HTTP(S) listener clients connect to |
auth.username, auth.password | chisel, generated | Client credentials |
reverse | false | Allow reverse tunnels (publish their listeners with extraPorts) |
socks5 | false | Allow clients to use the server as a SOCKS5 proxy |
extraPorts | [] | [{name, port, protocol}] on the Service and container |
extraArgs | [] | More chisel server flags (--backend, --keepalive) |
tls.enabled | false | TLS on the listener: existing Secret, cert-manager, or self-signed |
Verify the image
cosign verify ghcr.io/quenchworks/images/chisel \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
Deploy chisel with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has chisel on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartchisel is pinned at v0.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply