Remote port forwarding (binding to *)

Alex Still alex.ranskis at gmail.com
Thu Sep 14 04:28:45 WST 2006


<snip>


> I've just noticed that OpenSSH ~4.0 added an extra feature to
> -R, and it now binds to localhost by default (rather than
> 0.0.0.0 and letting the remote side restrict it further).
>
> -R [bind_address:]port:host:hostport
>
> So I think you'll want to use "ssh -R :3000:localhost:2000 alex at router1"
> (an empty bind_address or '*' means any interface). You'll
> still need -a for Dropbear (equivalent to GatewayPorts
> mentioned in the ssh manpage).



That works !
I had read the manpage... but that was a few years ago, oops :)

Thanks very much for your help.

(to Wim: local forwarding isn't an option, because bacula currently requires
that the backup server connects to the client, not the other way around.)


Cheers,

-- 
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20060913/6ea6e799/attachment.htm


More information about the Dropbear mailing list