ISO simple non-forking TCP connection forward/balance tool

Ivan Voras ivoras at
Fri Jan 22 23:20:09 UTC 2010

Chris Peiffer wrote:
> I'm looking for a simple program I can use to forward incoming TCP
> connections to several other addr:port pairs. (including one on the
> machine itself.) Holding the connections open and passing the data
> back and forth until both parties close their ends.
> I need a solution that doesn't fork. One way to do it is just fork
> ad-hoc netcat pipes with inetd, but I'm trying to avoid the process
> overhead.

See net/bsdproxy.

More information about the freebsd-questions mailing list