Show HN: Simple TCP bridge written in Go (github.com)
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
[ 1.8 ms ] story [ 401 ms ] threadThe source code is here, if interested (https://github.com/abcdlsj/gnar/tree/master)