"Alisson Landim" <(E-Mail Removed)> writes:
> Note the -R instead the -L.
>
> $>ssh -R REMOTE_ONE:80:REMOTE_TWO:8080 -l login_REMOTE_ONE REMOTE_ONE
>
> This exactly command does not run, so i removed the first REMOTE_ONE
> and tried but didn't work too.
okay. And what about the GatewayPorts variable in sshd_config on
REMOTE_ONE? It should be set to yes or clientspecified. When changed,
restart the sshd deamon.
If that variable is set to no, it will bind a port in the loopback
interface od REMOTE_ONE, and not the public interface of
REMOTE_ONE. It means that if it is set to no, you will be able, on
REMOTE_ONE to do for example
$> telnet localhost 80
If it set to yes, you'll be able to do
$> telnet localhost 80
and
$> telnet REMOTE_ONE 80
If it is set to clientspecified, it will be possible to telnet what is
specified in your ssh command, REMOTE_ONE in our case.
> What now?
Check this variable
Hope this helps.
-AJ