How to connect a computer in LAN?

1

A----NAT1----NAT2----B

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

I can do nothing to routers

How to do that?

kran

Posted 2013-03-05T03:46:14.913

Reputation:

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 – 2013-03-05T06:42:44.813

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 – 2013-04-10T20:36:43.263

Answers

0

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

scherand

Posted 2013-03-05T03:46:14.913

Reputation: 259