You are not logged in.

#1 2010-08-01 13:43:45

kennnn
Member
Registered: 2010-02-18
Posts: 14

Is this possible? (ssh and vnc)

Ive got a router running openwrt, mainly as a caching dns server and ssh (dropbear) on 192.168.0.10:2223

This is connected to my isp provided router/ap, which I've forwarded port 2223 to 192.168.0.10 on.

I don't want to open my workstation etc.. up to the world via ssh, so I ssh into 192.168.0.10 from the internet and then ssh into my workstation (dropbear).
my workstation has the ip and ssh port 192.168.0.2:2222 (all of my ip's are static).   

I know it is possible to tunnel vnc through ssh, but can tunnel through 2 connections?

Offline

#2 2010-08-01 13:52:04

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Is this possible? (ssh and vnc)

ssh -L 5900:192.168.0.2:5900 user@wan_of_router

that should route your vnc traffic to your workstation.

so connect to localhost:5900 in your notebook.

you dont need a second connection.

Offline

#3 2010-08-01 15:15:13

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: Is this possible? (ssh and vnc)

Yeah, it's called tunneling.  See the tightvnc wiki page I wrote.  ED pretty much summed it up.

Offline

Board footer

Powered by FluxBB