Simple TCP bridge written in Go
I often reached for `socat` when I needed to forward a TCP port from my local machine for testing, and I was curious how easy it was to write such a utility in Go. At 105 lines of Go, it was easy enough. It has limited functionality - TCP only, no port mapping, binds to all local network interfaces - but it serves its purpose, so I wanted to share this with others.
In plain words
Simple TCP bridge is a lightweight utility written in Go that forwards TCP ports for local testing purposes. Comprising just 105 lines of code, it provides basic port forwarding functionality without advanced features like port mapping or selective interface binding. The tool binds to all local network interfaces and handles TCP connections only. It is designed for developers who need a straightforward alternative to more complex utilities like socat for testing and debugging applications.
written from the facts on this page · September 2026
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, January 2024
the whole month →



- IM
Life & fun · 2024 · sitinshade.com
