Journeyman Posted May 7, 2014 Report Share Posted May 7, 2014 A while back I was helping my uncle troubleshoot some problems on his PC. I had my uncle - the type of person that doesn't know what a right-click is - install a VNC server program on his desktop so that I could help him out a bit better. Having him install it and enable port forwarding was only half of the work, getting him to find his external IP address, as simple as it is, was the other half. Whenever I helped him, he would always have to find that external IP address since it would change every month or so. So BTSync is now helping me with this. The solution: instead of having a paid service to take care of the dynamic IP (like No-IP.org), I wrote a small script to be run on the VNC server PC that will be hidden from view and poll every so often to see if the external IP has changed. If it has, it will write the IP address to a simple text file, and sync it right on over to my box 1100 miles away. On my end, (the VNC viewer end,) I have another script that integrates nicely with VNC so that his current IP address is always in the drop-down menu of server selections in the viewer. It's definitely a hack, and there's probably an easier way to do it, but sometimes it's just the fun of making something work - even if it is the hard way. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.