I'm trying to establish an RDP session from a windows machine at site A, and have it connect to a windows machine at site B. Both windows systems are identical. Windows at site B can not be connected to directly (from the outside), so I have to go through a reverse/dynamic tunnel.
So this is what it looks like:
These are the steps I'm trying:
1) SSH tunnel from [BSD at site B] -> [BSD at site A]
ssh -R 3389:localhost:3389 user@ip.address
Connection to [BSD at site A] is now established with tunnel.
2) Reverse SSH tunnel from [BSD at site A] -> [BSD at site B]
ssh localhost -p 3389
Connection to [BSD at site B] is now established through reverse tunnel.
3) RDP from [Win7 at site A] -> lan -> [BSD at site A] -> [BSD at site B] -> lan -> [Win7 Location B]
I'm not quite sure where I'm messing it up. I've tried many different ways of establishing the tunnels and nothing seems to work quite right.
Any ideas/tips?
Thanks!
So this is what it looks like:
Code:
[Win7 site A] <- lan -> [BSD at site A] <-> reverse ssh tunnel <-> inet <-> [BSD at site B] <- lan -> [Win7 site B]
1) SSH tunnel from [BSD at site B] -> [BSD at site A]
ssh -R 3389:localhost:3389 user@ip.address
Connection to [BSD at site A] is now established with tunnel.
2) Reverse SSH tunnel from [BSD at site A] -> [BSD at site B]
ssh localhost -p 3389
Connection to [BSD at site B] is now established through reverse tunnel.
3) RDP from [Win7 at site A] -> lan -> [BSD at site A] -> [BSD at site B] -> lan -> [Win7 Location B]
I'm not quite sure where I'm messing it up. I've tried many different ways of establishing the tunnels and nothing seems to work quite right.
Any ideas/tips?
Thanks!