LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Accessing a windows box via VNC through a Debian server via SSH (https://www.linuxquestions.org/questions/linux-newbie-8/accessing-a-windows-box-via-vnc-through-a-debian-server-via-ssh-750261/)

braun247 08-25-2009 10:51 PM

Accessing a windows box via VNC through a Debian server via SSH
 
Okay, I will try and make this a little simpler.

I am using XP at work. I want to get to my home XP box. I have been using VNCTight with port forwarding from my router to get to my home box. I have a Debian server I use just for SSH (no graphics). I would like to open a SSH tunnel to my Debian box, then open a VNC connection that will go through the ssh and then be forwarded to my home XP box.

This way everything from my work computer (or wireless laptop) will be secure to my internal network.

I know that I can buy software, but that is not as fun and I wont be learning anything that way.

Can you guys help me on how to do this?

Thanks in advance!

Joe

acid_kewpie 08-26-2009 12:07 AM

ok, so it sounds like you'd need a port forward for port 22 on the router to the Debian box, and then assuming you're using PuTTY, a tunnel would be added in the Tunnels section in there, local port, whatever you want, 5900 most liekely unless you're already using it, and then the remote would be ip.of.win.box:5900. Open the PuTTY session and once logged in, you'd use a vnc client to connect to localhost:5900 on your work machine, and that's just about it.

braun247 08-26-2009 07:06 PM

How would I forward port 5800 to the local box ip from the linux box? Or how would I have a trigger to forward port 5800 to 192.168.x.x?

acid_kewpie 08-27-2009 03:02 AM

well as above, you specify the windows box ip address as the destination, rather than localhost which would port forward to the server you ssh to.


All times are GMT -5. The time now is 04:15 PM.