The problem is I want to use the remote desktop to access to an Ubuntu 14.04 (A) from another Ubuntu 14.04 (B). A and B are not in the same network.
The machine A is behind a router and has a private IP address as 192.168.X.X. The router cannot be controlled, so the forwarding option does not work. But, I have a public IP address which can be accessed from outside.
Can anyone offer a solution on how to configure the network? Thanks!