Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] SSH port forwarding


Hi
can anybody set me straight here please:

I'm (ssh'd) onto a host deep inside a 192.168.1.0 network. That host is connected to an ADSL router over a seperate network (192.168.0.0)

I want to browse the ADSL router.

So i want to forward 192.168.0.1:80 (the router) to localhost:say5678

ie I browse localhost:5678 and get the router setup page.

I can browse the remote host with
ssh -C -g -L 5678:192.168.1.40:80 tigger.ws

That forwards 192.168.1.40:80 to me at 5678. I want to go 1 step further to the ADSL router at 192.168.0.1:80

There is no browser on 192.168.1.40 (I'll do that if all else fails)

James