Chisel is a single-binary client and server that tunnels TCP and UDP over HTTP, secured with SSH cryptography. It helps reach services through restrictive firewalls or expose secure endpoints.
Overview
Chisel forwards traffic between a server and clients over WebSockets carried on HTTP, with encryption and authentication handled via the Go crypto/ssh stack. One client connection can open multiple tunnel endpoints. Clients may connect through SOCKS or HTTP CONNECT proxies, and reverse forwarding routes connections from the server out through a client.
The server can authenticate users from a JSON auth file, match allowed address patterns with regular expressions, and optionally expose a SOCKS5 proxy including UDP ASSOCIATE when configured. TLS termination supports automatic Let's Encrypt certificates or custom mutual TLS alongside the inner SSH layer. Docker images are published for multi-arch deployment.
Operational features include fingerprint pinning, live auth file reload, stdio mode for SSH ProxyCommand, CDN compatibility where WebSockets are allowed, and environment-variable tuning for timeouts and limits. Typical setups forward local services through a remote server, provide encrypted SOCKS egress, or pierce NAT without opening inbound firewall ports on the private side.
Key features
- TCP and UDP tunnel over HTTP
- SSH encryption and authentication
- Reverse and forward port forwarding
- SOCKS5 and HTTP CONNECT client proxies
- Optional TLS with Let's Encrypt
- Single binary client and server
- Docker multi-arch images
- CDN WebSocket compatibility
Use cases
- Firewall traversal to internal services
- Encrypted SOCKS5 egress
- Reverse access to private networks
- SSH over HTTP ProxyCommand
- Secure remote endpoint exposure