LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-22-2015, 06:01 PM   #1
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Rep: Reputation: 1
RDP over SOCKS proxy


Hello guys,


I have below setup.


cygwin <--> uxJump <--> win2k


Parties definition :
cygwin - win7
uxJump - solaris10
win2k - windows 2003 server


I have activated dynamic port forwarding from Cygwin machine via uxJump server with below command :


ssh -f -D 1081 user1@uxJump -N


I want to connect to win2k server via RDP directly from Cygwin machine with win7 onboard.


I don't want to make local tunneling but want to use socks proxy (uxJump).


How to achieve this because standard Remote Desktop Connection doesn't allow me to provide any proxy ?
 
Old 04-23-2015, 02:25 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Why not use port forwarding?

For RDP in my setup of:

Win7 <--> LinuxGateway <--> Win(version with RDP server)

I simply have the LinuxGateway forward the incoming Win7 port(3389 is default, but configurable) to the target RDP server. (The RDP server needs to be enabled on the target Win machine.)

From remote locations, I connect with SSH to LinuxGateway and tunnel RDP to reach target Win machines.
 
Old 04-23-2015, 02:53 AM   #3
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Original Poster
Rep: Reputation: 1
@allend


Do you mean that on the Cygwin I should do below ?
ssh -f -L 9999:win2k:3389 -p 1081 localhost


Port TCP/9999 then should be changed to every win2k target server and I want to avoid that by using socks proxy.
 
Old 04-23-2015, 09:55 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
I am saying that you do not need cygwin at all.
You need to set up a remote desktop client on your Win7 machine that connects to your Solaris 10 machine.
The Solaris 10 machine needs to be set up to forward that connection to your Win 2003 server. I do not know Solaris 10, but this LQ thread seems to be relevant. http://www.linuxquestions.org/questi...10-0-a-760957/
 
  


Reply



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
proxy server that accepts PARENT PROXY as a SOCKS PROXY shadyabhi Linux - Server 1 08-10-2010 03:09 PM
[ask] using wget through SOCKS proxy arroquant Linux - Software 5 09-30-2009 06:12 PM
ssh over socks proxy d0x++ Linux - Networking 1 06-03-2009 02:35 AM
RHE3: Socks Proxy Zai Red Hat 2 06-26-2005 07:55 PM
Can I use ntpd through a socks proxy?? zhaoyoubing Linux - Networking 0 07-23-2003 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:43 AM.

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
Open Source Consulting | Domain Registration