Both -L and -R work perfectly. But I would like to have a finer control
than either 127.0.0.1 or 0.0.0.0 (-g) for the binding of the local port.
Example:
eth0:0 Port 22 <-¸ ,-> remote_host1 Port 22
eth0:1 Port 22 <--ssh--> remote_host2 Port 22
eth0:2 Port 22 <-´ `-> remote_host3 Port 22
This effectively gives local shadow servers. You cannot achieve this setup
with a combination of -L and -R (running two ssh processes), as -R has the
same limitation as -L. Using xinetd for local port number
translation on high ports bound to 127.0.0.1 makes the setup quite complex
(/etc/services, lengthy /etc/xinetd.conf).
So what I would like to use as forwarding syntax is
-L localaddress:localport remoteaddress:remoteport
Who has nothing better to do than to fullfill my wishes?
Regards
-Winfried