I have spent several session trying to figure this out, and tried to follow many other posts. But for some reason this is confusing to me and none of the other situations "seem" to apply.
What I want to do:
NOTE: NONE of these machines are on the same LAN.
Workstation A - A linux machine somewhere/anywhere on internet
Server - Linux Virtual Private Server out on the Internet Internet IP address 126.96.36.199
Workstation B - My Home Windows machine running RDP Internet IP address 188.8.131.52 NAT IP Address 192.168.10.51
I want the Linux Server to act as an SSH "Gateway" so I can can RDP From Workstation A to Workstation B
Workstation B, is on a restrictive ISP it can't run a sshd but can connect to Server using SSH Client like Putty.
Here is my lastest effort:
So from Workstation B:
Using Putty: Host Name ( Ip Address ) 184.108.40.206 Port 22 SSH Tunnel Source Port 3389 Local Port localhost:3389
(updated) Checked on "Local ports accept connections from other hosts" Not Checked "Remote hosts do the same" Selected "Local" and "Auto" under destination
Then on Server:
ssh -p 33890 -L 9833:192.168.10.51:3389 firstname.lastname@example.org
Then on Workstation A:
I have tried a bunch of variations on this but I am not even certain I have a correct understanding of the whole ssh tunnel.
Also, I have a specific need for an SSH tunnel and cannot install sshd on Worstation B. I actually know how to set up PPTPD, IPsec and others but that wont work here. So if you have a different solution it is not applicable. I am only looking as to wether or not my scenario can be accomplished ( cause I am confused ) and what I might be doing wrong.
Sorry if this is long, trying to not be vague.
I looked at this post: [how-to-tunnel-windows-remote-desktop-through-ssh-using-a-linux-box] It was VERY close to my situation but the linux box is not on my local network.