I have two computers. Both of them are resides on a different network behind the firewalls.

I need to connect my application from one computer to another computer just like teamviewer.

How do I do that?

Thanks in advance.