Using VNC behind a firewall or a NAT router without public IP available can be a huge challenge for remote control and maintenance tasks. As local networks operate on their own network address space, these IP network addresses are not known to the public Internet and therefore not directly accessible from outside the private network of your company. Typically, companies access and route the Internet connection for their private networks over a single Router/Gateway and Firewall which receives a permanent or a dynamically changing public IP address. This means that a PC with a private network address within your company is able to access any public IP address within the Internet by routing over your companies public IP Gateway/Router, but the other way its not possible to directly access the private IP address within your companies network.
Generally its impossible to directly access a VNC server running behind a Firewall or a NAT Router, but there are several technical possibilities to overcome this challenge.
Port Forwarding
A common method that is used for many different remote access purposes, such as accessing a private address of your webcam from all over the world, is to configure port forwarding on your router/gateway. Port forwarding allows remote computers (for example, computers on the Internet) to connect to a specific computer or service within a private local-area network (LAN). In a typical private network, computers obtain Internet access through a DSL or cable modem connected to a router or network address translator (NAT/NAPT). Hosts on the private network are connected to an Ethernet switch or communicate via a wireless LAN. The NAT device’s external interface is configured with a public IP address. The computers behind the router, on the other hand, are invisible to hosts on the Internet as they each communicate only with a private IP address.
When configuring port forwarding, the network administrator sets aside one port number on the gateway for the exclusive use of communicating with a service in the private network, located on a specific host. External hosts must know this port number and the address of the gateway to communicate with the network-internal service. Often, the port numbers of well-known Internet services, such as port number 80 for web services (HTTP), are used in port forwarding, so that common Internet services may be implemented on hosts within private networks.
Listening VNC Client with public IP
By triggering the connection from inside a private network it is possible to establish a connection to a waiting (listening mode) vnc viewer. With UltraVNC for example you can start the viewer in listening mode by typing ultravnc.exe -listen. The constraint for accessing a listening vnc viewer is of course that the network address of the viewer can be accessed by the server. So the vnc viewer has to run on a public IP address.
Public VNC Repeater:
The same way as Skype or TeamViewer are operating is also possible in combination with VNC. Skype and TeamViewer are routing both connections over a central, globally available server with public IP address. So both sides, the server as well as the client can operate on private IP addresses and connect to each other by using the central server. Within the VNC world this concept/software is called a VNC repeater server. VNC repeater servers are responsible for accepting both connections from VNC clients as well as from VNC servers. Typically the VNC repeater accepts VNC clients/viewers on port 5900 and connections coming from your VNC server on port 5500. Both sides have to agree on a common connection ID in order to enable the VNC repeater to distinguise which viewer connection should be connected with which server connection.
You can find free implementations for VNC repeater software from UltraVNC and another implementation on Google Code.
If you are operating a remote maintenance service its strongly advised to setup your own VNC repeater on your own publicly accessable server!
There are also some free VNC repeaters running online, where you can start to test out such a scenario without setting up your own VNC repeater: http://repeaters.ultravnc.info/
MobileVNC, Windows CE and Windows Embedded Compact VNC Server also supports the automatic reconnect to listening VNC viewers or to VNC Repeaters.
My brother recommended I would possibly like this website. He was once totally right. This post truly made my day. You can not believe just how much time I had spent for this info! Thanks!
Pretty great post. I simply stumbled upon your blog and wanted to mention that I’ve truly enjoyed surfing around your weblog posts. After all I’ll be subscribing to your feed and I am hoping you write again very soon!
Greetings, I think your site may be having internet browser compatibility problems. Whenever I take a look at your site in Safari, it looks fine but when opening in I.E., it’s got some overlapping issues. I just wanted to give you a quick heads up! Other than that, excellent blog!
Excellent article. I certainly appreciate this website. Keep it up!
I think the admin of this web site is in fact working hard for his web site, for the reason that here every material is quality based stuff.
I got this website from my buddy who told me concerning this web page and now this time I am visiting this web site and reading very informative posts at this place.
Oh my goodness! Awesome article dude! Thanks, However I am experiencing problems with your RSS. I don’t understand why I cannot join it. Is there anybody getting identical RSS issues? Anybody who knows the answer will you kindly respond? Thanx!!
Highly descriptive post, I enjoyed that bit. Will there be a part 2?
excellent points altogether, you simply gained a new reader. What could you suggest in regards to your put up that you simply made a few days in the past? Any certain?
Ahaa, its nice discussion concerning this article at this place at this webpage, I have read all that, so now me also commenting here.
What’s Going down i’m new to this, I stumbled upon this I’ve discovered It positively helpful and it has aided me out loads. I’m hoping to give a contribution & assist different users like its helped me. Good job.
A person essentially assist to make seriously posts I would state. That is the very first time I frequented your website page and up to now? I amazed with the research you made to make this actual put up incredible. Fantastic activity!
Hi there very nice website!! Man .. Beautiful .. Superb .. I’ll bookmark your blog and take the feeds additionally? I am glad to seek out a lot of helpful information here within the submit, we need work out extra strategies on this regard, thanks for sharing. . . . . .
It’s perfect time to make some plans for the future and it is time to be happy. I’ve read this post and if I could I wish to suggest you some interesting things or tips. Perhaps you could write next articles referring to this article. I desire to read more things about it!
If you are going for most excellent contents like me, just pay a visit this web page everyday because it gives feature contents, thanks
Hello all, here every one is sharing such know-how, therefore it’s good to read this web site, and I used to pay a quick visit this web site all the time.
you’re really a good webmaster. The website loading pace is amazing. It sort of feels that you are doing any unique trick. In addition, The contents are masterwork. you’ve done a fantastic activity in this subject!
My partner and I stumbled over here by a different website and thought I may as well check things out. I like what I see so now i’m following you. Look forward to exploring your web page again.
It’s very trouble-free to find out any matter on web as compared to textbooks, as I found this article at this site.
Hello there! Do you know if they make any plugins to help with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good gains. If you know of any please share. Kudos!
Thanks in support of sharing such a pleasant idea, post is fastidious, thats why i have read it entirely
This is the right webpage for anybody who really wants to find out about this topic. You realize a whole lot its almost hard to argue with you (not that I personally will need to…HaHa). You certainly put a new spin on a subject which has been discussed for many years. Excellent stuff, just great!
Does your website have a contact page? I’m having a tough time locating it but, I’d like to shoot you an email. I’ve got some recommendations for your blog you might be interested in hearing. Either way, great website and I look forward to seeing it improve over time.
I do believe all of the ideas you’ve presented in your post. They are very convincing and can definitely work. Still, the posts are very brief for novices. Could you please extend them a bit from next time? Thank you for the post.
Actually when someone doesn’t understand afterward its up to other users that they will assist, so here it takes place.
Spot on with this write-up, I truly feel this web site needs a lot more attention. I’ll probably be returning to see more, thanks for the info!
Hello to every one, the contents present at this website are in fact amazing for people knowledge, well, keep up the nice work fellows.
Excellent blog here! Also your web site quite a bit up very fast! What host are you the usage of? Can I am getting your associate hyperlink on your host? I wish my website loaded up as fast as yours lol
An outstanding share! I’ve just forwarded this onto a coworker who was conducting a little research on this. And he in fact ordered me dinner because I stumbled upon it for him… lol. So allow me to reword this…. Thanks for the meal!! But yeah, thanks for spending some time to discuss this subject here on your internet site.
Hi, Neat post. There’s a problem together with your site in web explorer, could test this? IE nonetheless is the marketplace leader and a good component to people will pass over your wonderful writing because of this problem.
An outstanding share! I have just forwarded this onto a coworker who was doing a little homework on this. And he in fact bought me lunch due to the fact that I found it for him… lol. So allow me to reword this…. Thank YOU for the meal!! But yeah, thanx for spending some time to talk about this issue here on your site.
Hi there, after reading this amazing post i am too happy to share my experience here with mates.
Please let me know if you’re looking for a author for your weblog. You have some really great articles and I believe I would be a good asset. If you ever want to take some of the load off, I’d really like to write some articles for your blog in exchange for a link back to mine. Please shoot me an email if interested. Regards!
I am curious to find out what blog platform you’re utilizing? I’m having some small security problems with my latest website and I’d like to find something more secure. Do you have any suggestions?
Thanks , I have recently been looking for information about this topic for a long time and yours is the greatest I have found out till now. However, what concerning the bottom line? Are you certain concerning the supply?
When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove people from that service? Bless you!
It’s appropriate time to make some plans for the longer term and it’s time to be happy. I’ve learn this publish and if I may I want to suggest you few interesting issues or tips. Maybe you could write subsequent articles relating to this article. I want to read more issues about it!
Very descriptive post, I liked that a lot. Will there be a part 2?
I read this paragraph completely concerning the difference of most up-to-date and preceding technologies, it’s amazing article.
This paragraph gives clear idea in support of the new viewers of blogging, that in fact how to do blogging.
Howdy would you mind sharing which blog platform you’re working with? I’m planning to start my own blog in the near future but I’m having a tough time deciding between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I’m looking for something completely unique. P.S My apologies for getting off-topic but I had to ask!
Hi there, I do believe your web site could be having internet browser compatibility issues. When I look at your website in Safari, it looks fine however, when opening in Internet Explorer, it’s got some overlapping issues. I just wanted to give you a quick heads up! Apart from that, great blog!
Thank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! However, how could we communicate?
Good article! We will be linking to this great post on our site. Keep up the good writing.
I always spent my half an hour to read this web site’s articles or reviews every day along with a cup of coffee.
Hi there, just wanted to say, I liked this post. It was funny. Keep on posting!
I’m curious to find out what blog system you happen to be working with? I’m having some minor security problems with my latest site and I’d like to find something more safeguarded. Do you have any recommendations?
I am extremely impressed together with your writing abilities and also with the layout to your blog. Is that this a paid theme or did you modify it your self? Anyway keep up the excellent high quality writing, it is uncommon to see a great blog like this one these days..
I read this article completely concerning the comparison of most recent and preceding technologies, it’s amazing article.
Quality articles or reviews is the important to attract the viewers to pay a visit the website, that’s what this site is providing.