LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-05-2004, 11:38 AM   #1
learner_driver
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
Wink Putty SSH remote desktop Solved


Hi all, I must give this back to the community as it has pained me for some time. it involves a solution for remote desktop via a linux firewall running ssh to tunnel the connection.

There is alot of info out there about xp and using 127.0.0.2 using ports 3389 and 3390.
The above produces mixed results. The best way is easy as follows the explanation.

The problem is that when you tunnel from an XP client to a Terminal services host using say putty to tunnel the port 3389. Windows xp complains as it runs the service itself locally.

All that one needs to do is tunnel from port say 3333 -------3389 and all is fine for some reason 3390 does not work, perhaps TS uses this port also??

For example


imagine your server at work with the remote desktop software running(terminal services) or in fact an XP machine with remote desktop sharing enabled in control panel system remote

has the address 10.0.0.10 with a linux firewall infront of it at 10.0.0.1 and the linux firewall also has the external address fw.foo.com

on the client setup a putty connection to fw.foo.com then go to tunnels and type in local port 3333
then underneath that 10.0.0.10:3389

then add
save the session
connect to the linux fw
login to the firewall - at this point the machine you are on is listening on port 3333 at ip address 127.0.0.1.

now open up your remote desktop software in the host bit put in

127.0.0.1:3333

then connect -

God save the Queen!!!
 
Old 07-05-2004, 03:02 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
Well done..

Have a look at the LQ Wiki and see if this can be fitted in somewhere.

It's always nice to have someone start a resource like this...
 
  


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
Problem with remote terminal (ssh and PuTTY) guardian653 *BSD 11 02-09-2005 06:16 AM
'Remote Desktop' with SSH and VNC kaon Slackware 11 09-21-2004 01:15 PM
Remote Desktop using SSH tunnel..... help! redhatbeatswin Linux - Newbie 5 08-14-2004 11:51 AM
how to remote download file by putty SSH? treotan Linux - Newbie 5 08-02-2004 10:47 PM
ssh forwarding+remote desktop Metroid Linux - Networking 2 06-23-2004 03:14 PM


All times are GMT -5. The time now is 03:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration