Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


I want to connect to B from A, for example ssh to B

I can do nothing to routers

How to do that?

share|improve this question

migrated from Mar 5 '13 at 5:44

This question came from our site for professional and enthusiast programmers.

You should be able to SSH from B to A, establishing an SSH tunnel, then SSH BACK to B from A. Only way I can think of without using port forwarding, but I'm not too tech savvy – cutrightjm Mar 5 '13 at 6:42
You need a server somewhere on the Internet that both A and B can setup SSH tunnels (or VPN connections) to. Amazon will give you a free EC2 micro instance if nothing else. Hurricane Electric will give you free IPv6 tunnels which you can use like a VPN. – David Schwartz Apr 10 '13 at 20:36

You can't. it's impossible (that's assuming that behind the NAT A and B are using private IP ranges (RFC1918)).

share|improve this answer

You must log in to answer this question.