2
I have 2 machines, A and B. Both of them are connected to their own wifi access point (routers). Both the wifi routers are connected to the same private LAN, like a university's intranet.
A's router has its public IP on the private LAN as 10.20.30.40
and B's router has the IP 10.20.30.50
. Both A and B have their private IPs (wrt router) as 192.168.0.100
. Its obvious that more than 1 machine may be connected to each router, hence the solution should still allow this.
How do I ssh
from A into B ?
How do I set up a simple P2P connection between the 2 machines?
Also if there is a 2nd machine on B's router, say C, how do I ssh
to it from B? How do I ssh
it from A, while simultaneously ssh
-ing to B but from a different terminal window ?
By "a simple P2P connection", do you mean something different from
ssh
asked about in the previous sentence? If so, what? – bertieb – 2015-08-30T10:46:14.240Try something like a client and echo-server using P2P – Codi – 2015-08-31T11:54:07.430