Tcptunnel is a simple TCP port forwarder. There is nothing special about it. This tool listens to a local TCP port and all the received data will get sent to a remote host. It can be used for redirecting TCP based protocols like SMTP, NNTP, IRC or HTTP.
Tcptunnel was successfully compiled and tested under GNU/Linux, FreeBSD, Solaris, HP-UX, Windows XP and Windows Server 2008. If you have compiled and run it on another system please let me know it.
The source code is released under the terms of the GNU General Public License.
$ tcptunnel --help Usage: tcptunnel [options] Options: --version --help this help --local-port=PORT port to redirect --remote-port=PORT target port --remote-host=HOST target host --stay-alive --log-to-stdout