BOUNCE(1)

NAME
bounce - Forward another machine's port on a local machine port

SYNOPSIS
bounce [-p local-port] remote-machine remote-port

DESCRIPTION
bounce takes 2 mandatory arguments. The address of a remote machine, and a port number on that remote machine. When invoked, bounce becomes a daemon, and wait for incomming TCP connexions on port 1523 (This port can be changed using the -p option). Any connexion to port 1523 of the local machine will be forwarded to the remote machine, at the port specified when invoking bounce.

OPTIONS
The following option is available:

-p port
    Specify an alternate local port for listening to incoming connexions.

EXAMPLES
bounce 10.8.0.1 119
Connexions to port 1523 of the local machine will be forwarded to port 119 of 10.8.0.1

bounce -p 2323 10.0.0.1 23
Connexions to port 2323 of the local machine will be forwarded to port 23 of 10.0.0.1

DIAGNOSTICS
Cannot bind: It was not possible to bind to the port number you specified. The reason might be that you specified a port number below 1024 with the -p option (you must have superuser privileges to use ports below 1024). It is also possible that the port is already used by another application, for example another instance of bounce.

BUGS
There should be a flag to prevent bounce from becoming a daemon.

AUTHOR(S)
Orabidoo, with code from mark@cairo.anu.edu.au. Man page and Makefile by Emmanuel Dreyfus (be indulgent, it's my first man page).

SEE ALSO
services(5), bind(2)