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.
2 comments
Show HN: Simple TCP bridge written in Go | Heykuki News