inetaf/tcpproxy
Proxy TCP connections based on static rules, HTTP Host headers, and SNI server names (Go package or binary) observed · 2026-08-28
Health v2 · maintenance only
69/100
- Activity 82
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3551
- days_rel: n/a
- days_push: 110
- n_releases_24m: 0
Adoption not part of the score
1296 stars · 161 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library and CLI (tlsrouter) for building TCP proxies that route connections based on static rules, HTTP/1 Host headers, and TLS SNI server names. It lets a single listener multiplex connections to different backends without terminating TLS.
Use cases
- route TCP connections to different backends based on SNI server name
- multiplex HTTP traffic on port 80 by Host header
- run a TLS router that forwards connections without decrypting traffic
- proxy multiple domains on one IP address
- build a custom TCP load balancer in Go
- forward port 443 traffic to different services per hostname
When to choose
- you need SNI- or Host-header-based routing at the TCP layer without TLS termination
- you want a lightweight Go library to embed proxying in your own application
- you need to serve multiple backends behind a single IP/port
When to avoid
- you need a full-featured L7 reverse proxy with load balancing, health checks, and middleware (use HAProxy, nginx, or Caddy)
- you need HTTP request rewriting or response manipulation
- you need UDP proxying
Facets
library · maturity stable
proxy networking routing http-server cli networking backend developer-tools infrastructure-as-code go windows cross-platform cli tcp-proxy sni-routing http-host-routing tls-router load-balancing linux macos
4 sources
- readme: https://github.com/inetaf/tcpproxy · fetched 2026-08-28 · 162440e5565e
- homepage: https://pkg.go.dev/github.com/inetaf/tcpproxy · fetched 2026-08-29 · 0a667853a625
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| inetaf/tcpproxy | main | 69 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem