views:

248

answers:

2

Did you use teamviewer? (comic question i know... Who doesn't use it?)

Do you have any idea how does teamviewer make connection even if i am behind the router, firewall, switch and my local firewall..?

I'm trying to imagine a connection that is between remote machinge and my computer. Remote machine is sending the packets (and its header (for instance, destination IP, message body)) to me but it only knows my id number(which is given by my local teamviewer application).

And this packets are reaching to my computer even if there is a juniper firewall (and also my windows firewall).

What kind a message body is recieving by computer? (of course it is not like xml, text, html, excel :)

Do you have any idea?

PS. Please share your knowledge like you are explaining to beginner level user.

A: 

The software is communicating with a central server, and has made an outbound connection. When you start TeamViewer, it will try to make a direct connection, but if both directions fail that (ie. firewall or NATting at both places), then it will fall back on communicating through a server.

This is basically the same approach most online games use. Changes at one end is sent to a central server, and is then relayed back to other connected computers.

Lasse V. Karlsen
How does it easily pass the firewalls even they are checking the contents of packets and their ports?
uzay95
@uzay95: I don't understand what you mean by that comment but I'll try to clarify on the commentator's already clear answer. As TeamViewer has already made an outbound connection to the master server (firewalls allow outbound connections out-of-the-box), if the computer that is wishing to talk to you fails to connect, then it will tunnel its data through the pre-existing master server connection. Hence, you have bypassed the firewall completely (although at a potential speed loss).
Saul Rennison
A: 

I have a question. I dont know what Teamviewer is and never heard of it til today when I got an error message that it couldn't connect. My question is how did Teamviewer get on my computer without my knowledge if it's not a virus and why is it trying to run?

hope