tcptunnel is the Novell exteNd Web Services SDK TCP Tunnel.
tcptunnel [options] localport remotehost remoteportwhere 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
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.
-helpPrints 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.-verbosePrint out runtime details, including information about deployment of new services.-nowarnDo not print out warning messages.
Copyright © 2001-2003, Novell, Inc. All rights reserved.