tcptunnel is the Novell exteNd Web Services SDK TCP Tunnel. The tcptunnel program traps bytes exchanged on TCP connections between the localhost and some remote host. The tunnel listens on the local port on the local host, and displays traffic going to the remote port on the remote host.
If a client program is connecting to the URL 'http://www.acme.org:8080/services/mine' and wish to go through the tunnel, it would have to start the tunnel like this:
tcptunnel 9999 www.acme.org 8080Note that 9999 is an arbitrary port on the local host. Once the tunnel is running, the client should use the 'http://localhost:9999/services/mine' URL to connect via the tunnel. If a URL does not have port information, it uses the default port 80.
tcptunnel [options] localport remotehost remoteport
where options include:
-help print out this message
-J<vm flag> pass argument to the java interpreter
-verbose turn verbose mode on
-nowarn generate no warnings
-help
Prints out the command syntax.
-J<vm flag>
Pass a flag to the jvm. As an example -J-Xms100m sets the maximum heap size to 100 MB when running tcptunnel.
-verbose
Print out runtime details, including information about deployment of new services.
-nowarn
Do not print out warning messages.
Copyright © 2003, 2004 Novell, Inc. All rights reserved. Copyright © 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.