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.
We’re a group of volunteers and starting a new scheme in our community. Your website offered us with valuable info to work on. You have done an impressive job and our entire community will be grateful to you.
Wonderful goods from you, man. I’ve be mindful your stuff prior to and you are just extremely excellent. I really like what you’ve got right here, really like what you are stating and the way in which by which you say it. You are making it entertaining and you continue to care for to keep it smart. I cant wait to read far more from you. That is actually a terrific website.
My brother suggested I might like this web site. He was totally right. This post actually made my day. You cann’t imagine simply how much time I had spent for this info! Thanks!
Nice post. I was checking continuously this blog and I’m impressed! Extremely useful info specifically the last part 🙂 I care for such info a lot. I was looking for this certain information for a very long time. Thank you and best of luck.
Hi Dear, are you truly visiting this web site regularly, if so then you will definitely get fastidious experience.
We are a group of volunteers and opening a brand new scheme in our community. Your website provided us with helpful info to work on. You have done a formidable job and our whole community will probably be grateful to you.
Hi, I would like to subscribe for this blog to get most recent updates, thus where can i do it please help out.
Can I simply just say what a relief to discover someone who truly understands what they are discussing on the web. You actually understand how to bring a problem to light and make it important. More people ought to read this and understand this side of the story. It’s surprising you are not more popular since you certainly possess the gift.
Hello There. I found your blog using msn. This is an extremely well written article. I will be sure to bookmark it and return to read more of your useful information. Thanks for the post. I’ll definitely return.
Hi, I log on to your blogs like every week. Your story-telling style is witty, keep up the good work!
Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! By the way, how could we communicate?
Thanks a lot for sharing this with all people you actually realize what you’re talking about! Bookmarked. Please additionally talk over with my site =). We may have a link trade arrangement between us
I have learn several just right stuff here. Certainly worth bookmarking for revisiting. I surprise how much attempt you set to create this sort of fantastic informative web site.
Hey! Would you mind if I share your blog with my zynga group? There’s a lot of people that I think would really appreciate your content. Please let me know. Thanks
Keep this going please, great job!
This is really interesting, You are a very skilled blogger. I have joined your rss feed and look forward to seeking more of your wonderful post. Also, I’ve shared your site in my social networks!
Appreciate this post. Will try it out.
Fantastic beat ! I would like to apprentice while you amend your website, how could i subscribe for a blog web site? The account aided me a acceptable deal. I had been a little bit acquainted of this your broadcast provided bright clear concept
You actually make it seem so easy with your presentation but I find this matter to be really something that I think I would never understand. It seems too complicated and extremely broad for me. I am looking forward for your next post, I will try to get the hang of it!
Excellent post. I was checking continuously this blog and I’m impressed! Extremely useful information specially the last part 🙂 I care for such info a lot. I was seeking this particular information for a very long time. Thank you and best of luck.
Unquestionably imagine that which you stated. Your favourite reason seemed to be at the net the simplest factor to remember of. I say to you, I certainly get irked at the same time as folks think about issues that they plainly do not realize about. You controlled to hit the nail upon the top and outlined out the entire thing without having side-effects , other people could take a signal. Will probably be back to get more. Thanks
I’ve been browsing online more than 3 hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my opinion, if all webmasters and bloggers made good content as you did, the net will be a lot more useful than ever before.
Thank you for the good writeup. It in fact was once a amusement account it. Glance complicated to more delivered agreeable from you! By the way, how can we keep up a correspondence?
Hi there! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing many months of hard work due to no backup. Do you have any solutions to protect against hackers?
Excellent post. I was checking constantly this weblog and I’m impressed! Extremely useful info specifically the closing section 🙂 I handle such information much. I used to be seeking this particular info for a long time. Thank you and good luck.
Hi there! I know this is somewhat off topic but I was wondering if you knew where I could find a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having difficulty finding one? Thanks a lot!
Hey there would you mind sharing which blog platform you’re working with? I’m going to start my own blog in the near future but I’m having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I’m looking for something completely unique. P.S Sorry for being off-topic but I had to ask!
Hi there, I discovered your website by way of Google at the same time as looking for a comparable subject, your site got here up, it seems good. I’ve bookmarked it in my google bookmarks.
Hi there, simply was alert to your weblog through Google, and located that it’s truly informative. I am going to watch out for brussels. I will appreciate if you continue this in future. A lot of people will be benefited from your writing. Cheers!
This paragraph is truly a good one it assists new internet viewers, who are wishing in favor of blogging.
We stumbled over here from a different web page and thought I might as well check things out. I like what I see so now i am following you. Look forward to looking over your web page yet again.
Nice post. I was checking constantly this blog and I am inspired! Extremely helpful information particularly the closing section 🙂 I take care of such information a lot. I used to be seeking this certain information for a very lengthy time. Thanks and best of luck.
Does your blog have a contact page? I’m having problems locating it but, I’d like to send you an email. I’ve got some suggestions for your blog you might be interested in hearing. Either way, great blog and I look forward to seeing it improve over time.
Thanks to my father who told me concerning this website, this website is really awesome.
Does your site 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 creative ideas for your blog you might be interested in hearing. Either way, great site and I look forward to seeing it grow over time.
Hi Dear, are you actually visiting this web site regularly, if so after that you will without doubt take pleasant experience.
I am sure this post has touched all the internet users, its really really pleasant piece of writing on building up new blog.
Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a little bit, but other than that, this is fantastic blog. An excellent read. I’ll definitely be back.
It’s in fact very difficult in this busy life to listen news on TV, thus I simply use world wide web for that purpose, and take the newest news.
It’s amazing to pay a visit this site and reading the views of all mates on the topic of this post, while I am also eager of getting familiarity.
Hello to every body, it’s my first pay a visit of this website; this webpage consists of awesome and actually good data in favor of visitors.
Hi, I desire to subscribe for this webpage to take latest updates, thus where can i do it please assist.
Greetings, I do believe your website may be having web browser compatibility issues. When I take a look at your website in Safari, it looks fine however, when opening in I.E., it has some overlapping issues. I just wanted to provide you with a quick heads up! Other than that, excellent website!
hello there and thank you for your information – I’ve definitely picked up something new from right here. I did however expertise several technical points using this website, as I experienced to reload the site lots of times previous to I could get it to load properly. I had been wondering if your web hosting is OK? Not that I am complaining, but slow loading instances times will very frequently affect your placement in google and could damage your high quality score if ads and marketing with Adwords. Anyway I am adding this RSS to my e-mail and can look out for a lot more of your respective intriguing content. Make sure you update this again soon.
Yes! Finally someone writes about %keyword1%.
Way cool! Some extremely valid points! I appreciate you writing this article and also the rest of the website is very good.
Ahaa, its fastidious dialogue regarding this article at this place at this webpage, I have read all that, so now me also commenting at this place.
Wow that was odd. I just wrote an incredibly long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Regardless, just wanted to say excellent blog!
Thanks a lot for sharing this with all folks you actually know what you’re speaking approximately! Bookmarked. Kindly also consult with my site =). We may have a hyperlink trade contract between us
I always spent my half an hour to read this webpage’s articles or reviews all the time along with a mug of coffee.
It’s actually a great and helpful piece of info. I’m glad that you just shared this helpful information with us. Please keep us informed like this. Thank you for sharing.