< <

tcptunnel

Tcptunnel is a simple TCP port forwarder. This tool listens to a local TCP port and all the received data is sent to a remote host. It can be used to redirect TCP based protocols like HTTP, IRC, NNTP, SSH or SMTP.

The current version was successfully tested under GNU/Linux, Mac OS X and Windows 7. Earlier versions were also reported to work with FreeBSD, HP-UX, OpenBSD, Solaris, Windows Server 2008 and Windows XP. If you have compiled and run it on another system or in another universe please let me know it.

The source code is released under the terms of the GNU General Public License.

help

$ tcptunnel --help
Usage: ./tcptunnel [options]

Options:
  --version
  --help

  --local-port=PORT    local port
  --remote-port=PORT   remote port
  --remote-host=HOST   remote host
  --bind-address=IP    bind address
  --buffer-size=BYTES  buffer size
  --fork               fork-based concurrency
  --log
  --stay-alive

download

Note: The MinGW32-based version of tcptunnel does not support the fork-based concurrent client handling. If you need this feature under Windows, then you should use the Cygwin-based version instead.

changelog

2013-10-27 tcptunnel-0.8
2013-02-03 tcptunnel v0.7
2012-11-24
2012-10-20 tcptunnel v0.6
2010-09-21
2010-09-16 tcptunnel v0.5
2010-09-11 tcptunnel v0.4
2010-09-09 tcptunnel v0.3
2010-08-15
2009-02-21
2004-12-28 tcptunnel v0.2
2000-09-14 tcptunnel v0.1g
2000-09-11 tcptunnel v0.1f <smit@vossnet.de>
2000-08-15 tcptunnel v0.1