LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-25-2009, 11:51 PM   #1
braun247
LQ Newbie
 
Registered: Apr 2009
Location: Littleton
Posts: 2

Rep: Reputation: 0
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
 
Old 08-26-2009, 01:07 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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.
 
Old 08-26-2009, 08:06 PM   #3
braun247
LQ Newbie
 
Registered: Apr 2009
Location: Littleton
Posts: 2

Original Poster
Rep: Reputation: 0
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?

Last edited by braun247; 08-26-2009 at 10:09 PM.
 
Old 08-27-2009, 04:02 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC Over SSH | Linux laptop -> Linux SSH Server -> Windows VNC Server jakestaby Linux - Networking 3 01-28-2009 03:33 PM
No able to VNC from windows to Linux box but iam able to vnc from linux to windows. vinaykori Linux - Software 1 01-20-2008 10:46 AM
VNC over SSH. Windows client - Linux Server c_mitulescu Linux - Networking 30 05-21-2007 12:20 AM
Cannot ssh to debian box from Gentoo box or Putty, but I can from Cygwin? Pengus Linux - Networking 2 01-20-2006 01:47 PM
After an SSH connection with my Debian Server, My windows PC become isolated!!! jimesh Linux - Networking 2 09-08-2004 10:04 AM


All times are GMT -5. The time now is 12:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration