Jump to content

jasbur

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by jasbur

  1. After watching the latest episode on SSH tunneling I've been trying to work out how to route VNC traffic from one computer to another through a server in the middle. Darren's walk-through only covered a point-to-point connection Here is a copy/paste from a post that I made on Amazon's EC2 forum: Ok, I'm trying to connect 2 computers using VNC via tunneling on an EC2 server running Ubuntu 12.04 server. Here's the layout: Computer 1 <-------> EC2 Server <--------> Computer 2 Computer 2 is running a VNC server on port 5900 Computer 1 is running a VNC client I think that tunneling the traffic via SSH is the right solution in this situation, so here's what I've got so far Computer 2 connects to the EC2 using: ssh -L 5900:localhost:5555 ubuntu@ec2serveraddress.com Computer 1 connects to EC2 using: ssh -R 5555:localhost:5555 ubuntu@ec2serveraddress.com My understanding is that the VNC server on Computer 2 should be piped down port 5555 to the EC2 server and if I tell Computer 1 to connect to localhost:5555 it should pipe to the same EC2 server on port 5555 which would then end at port 5900 on Computer 2. I'm posting here though so clearly things aren't going well both computers connect to the EC2, but no VNC access is available. I'm new to SSH tunneling so I'm sure I'm missing something. Any ideas? Any advice would be appreciated.
×
×
  • Create New...