setting up dropbear for local port forwarding
Robert P. J. Day
rpjday at crashcourse.ca
Mon Dec 15 23:16:27 WST 2008
On Mon, 15 Dec 2008, Matt Johnston wrote:
> On Fri, Dec 12, 2008 at 08:50:00AM -0500, Robert P. J. Day wrote:
> >
> > undoubtedly a trivial question but i want to make sure i have this
> > mentally worked out before i get to the office and try it.
> >
> > i want to set up a system running dropbear to do local port
> > forwarding to a remote host running a regular sshd listening on the
> > default port 22.
> >
> > as i read it, on my forwarding system (with dropbear 0.52), i need
> > to do two things:
> >
> > 1) invoke dropbear with "-a" (no other changes)
> >
> > 2) invoke dbclient thusly:
> >
> > # dbclient -L 1234:localhost:22 root at remotehost
> >
> > is that about it? or have i misread something in the docs? thanks.
>
> I'm not totally sure what you want to do. If you have
>
> host1 <----> host2 <-------> host3
> runs runs runs
> dbclient dropbear openssh
>
> then you would run on host1
> dbclient -L 1234:host3:22 host2 <----???????????
>
> and "dropbear -a" on host2 (the "forwarding system").
>
> Does that make sense?
>
> Matt
if i'm running that on host1, wouldn't that be
dbclient -R 1234:host3:22 host2 ("-R", not "-L"??)
rday
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
More information about the Dropbear
mailing list