Posted by: Josh | October 18, 2008

Connect to your home computer from anywhere with dynamic dns

Ever wondered how to connect to your home computer from the office, school, or anywhere with an Internet connection? It’s possible, and that’s through a service called dynamic DNS.

Why would you want to have your home computer available on the Internet?

Of course, you restrict what your visitor can access using a firewall or router, so that the rest of the files on your computer and computers on the network are safe (you should be doing this anyways!)

xkcd - Map of the Internet

So what’s wrong with finding out your IP address ( example, by http://whatismyipaddress.com/ ) and using this?

There are many dynamic DNS services. The two most commonly used are:

Aside from offering different URLs to use (note, top-level domains like yourname.com are not available for free accounts; you will have selections similar to yourname.no-ip.com) these companies offer the same features. Setting up your computer is usually quite simple.

  1. Register for an account on one of the above services.
  2. Register one (or more) subdomains, which you will be using to access your computer with.
  3. Update the IP address associated with this subdomain. You can do this using the browser, but it’s best if you download and install their client – it will periodically synchronize your latest IP with the subdomain automatically.
  4. Wait about an hour (initially) for the new subdomain to become active.

On your home computer, run the server(s) you require. Note that if you have a firewall or router, you may have to allow incoming and outgoing connections to specific ports, such as http (80), ftp (21), ssh (22), vnc (5900). A quick search for the router or firewall you have for “port forwarding” should help you configure this. On many newer routers, it may even have a built-in dynamic dns client, so your computer wouldn’t need to do the updating. I have a previous post on setting up a web server here.

So now you can access your computer from anywhere; stay tuned as I show you how to put a dynamic dns client on your router and turn on your computer from anywhere in the world with open-source router firmware (if your router supports it…)!

Update:
So I just tried out a free, online remote desktop service called LogMeIn (https://secure.logmein.com/home.asp?lang=en) and I highly recommend it if you’re unwilling to go through all this setup. It allows you to remotely control your desktop (either by your account or invitation (great for tech support!) and apparently works behind routers, firewalls, and the like.


Responses

  1. […] can refer to my previous post about Dynamic DNS , and instead of running a software client to keep your IP synchronized, you can use your […]

  2. Thanks for sharing. I’ve tried http://www.dnsquackie.com and it works as good as the other paid dynamic dns service only that it’s free.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: