Si

Simple TCP bridge written in Go

Hacker News

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.

Share card

Actual performance

10points
2comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
57%57% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
53%53% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRFits verified-revenue profile · Missing: mobile apps, ios, personal
51%51% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: interface · Missing: plus, platform, intuitive
46%46% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Strong signals: mac · Missing: agents, macos, agent
42%42% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
21%21% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
5%5% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

A
A Bridge from Nest Thermostat to Apple HomeKit Written in Go57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Bridge from Nest Thermostat to Apple HomeKit Written in Go

Hacker News5
Br
Bridge (2014)49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bridge (2014)

Hacker News1
Pw
Pw-whip, a bridge between PipeWire and WHIP52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pw-whip, a bridge between PipeWire and WHIP

Hacker News3
Mu
Mulle-container: Sets, hashtables, arrays and more – written in C46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mulle-container: Sets, hashtables, arrays and more – written in C

Hacker News5
Mu
Mulle_sprintf, an extensible sprintf written in C60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mulle_sprintf, an extensible sprintf written in C

Hacker News2
Qu
QuickNote (qnote) written in GoLang48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

QuickNote (qnote) written in GoLang

Hacker News2
Rm
Rmux, a Redis multiplexer written in Go67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rmux, a Redis multiplexer written in Go

Hacker News2
Ri
Rift – An Intel 8051/52 assembler written in Java45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rift – An Intel 8051/52 assembler written in Java

Hacker News4
A
A Tmux Keylogger Written in Bash74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Tmux Keylogger Written in Bash

Hacker News4
A
A pipelined RISC-V processor written in VHDL67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A pipelined RISC-V processor written in VHDL

Hacker News65