I have downloaded TightVNC Remote Desktop View form following link

http://www.tightvnc.com/download.php

Which is running ok on local LAN but it is not able to connect to remote PC in other network. I want to modify this code so that it can connect to remote PC in other network. I am new to socket programming; I have studied about NAT Traversal, UDP and TCP Hole Punching. Can some one guide me in achieving the above task? Thanks in advance.

Regards, Ravi Shankar

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

You simply need to configure port forwarding on the router in the remote network, no programming required. See the section in the TightVNC FAQ, How would I connect from the Internet to a machine in the internal network which is behind a router?

link|improve this answer
Hi John T, Thanks for you pormpt reply. We don't have router in our netwrok. All PC are connected through a switch. – Ravi Shankar Jan 5 '10 at 10:52
I'm talking about the remote PC in the other network. Is it behind a router? – John T Jan 5 '10 at 19:07
Hi John T, in our network all PC are connected to a DLINK ethernet switch, which is connected to a modem. I have also tried all the options in link which you have provided. I have added a virtual service with the said port 5800 but still I am not able to connect from remote pc in other network. – Ravi Shankar Jan 6 '10 at 10:28
Hi John T, Both the network are configured in the same manner. – Ravi Shankar Jan 6 '10 at 13:42
Check the firewall on the remote PC. – John T Jan 6 '10 at 20:21
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.