access your home computers from anywhere

HOWTOs Standards

There comes a time when you are at work, travelling, or somewhere where you “really wish you could access your home computer(s).” Some people are fortunate enough to have static ips so they can simply access their computer by using their static IP. For most of us, we have to deal with dynamic IPs. For years now I have been using a great service (DynDNS.org). With dynDNS, you can set up a domain name that will point to your computer, and will update when your IP changes, so you will always be able to connect to your home computers. Sound cool? Here is how to set it up:

There are 3 basic parts to configuring DynDNS.

  1. Create an account. Go to DynDNS.org and at the top right of the page, click on the “Sign up now” link. Once you have an account, log in and choose a domain name from DynDNS’s options. Then, from the computer that you want to be able to access from outside of your home, add a host, and your public IP will automatically show up in the web browser form. Once your choosen domain name now has a public ip as a pointer, you will need to configure your router or DNSUpdate software so it knows that a computer on your home network is mydomina.dyndns.org
  2. Set up your router or use DNSUpdate software. If you are fortunate enough to have a netgear router, there are options (read your manual) where you can configure your router to work with DynDNS. If you do not have a router that supports DynDNS, you can use DNSUpdate software and configure it.
  3. Setting Up Port Forwarding. Once you get your domain set up to point to your home computer, you will need to set up port forwarding on your router so when the request for mydomain.dyns.org comes to the router, it will know where to forward the request. You will need to figure out how you want to access your home computer. If you want to access your computer using SSH, you will need to forward port 22 to the computer you set up mydomin.dyns.org to point to. If you want to be able to use Timbuktu to connect to your home computer, you will need to set up port forwarding to port 407. Your home computer, behind the router, has a private address. (192.168.x.x or 10.x.x.x). In the port forwarding section of your router configuration, you will choose which private IP will listen to all outisde traffic. (ex) forward all incoming traffic on port 22 to 192.168.0.4 if 192.168.0.4 is the computer you want to be able to SSH from outside of your home network. Not sure what port your application uses? http://www.iana.org/assignments/port-numbers

Confusing? Need help? Let me know.

One thought on “access your home computers from anywhere”

Leave a Reply

Your email address will not be published.
*
*

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Hints UNIX

more helpful UNIX stuff.

While I am taking my UNIX/LINUX Systems Administration training, I pick up cool UNIX tidbits and it is time to share some more of my latest tidbits. (First installment) Random commands and information I have jotted down: When compiling something from source code, I used to always use: ./configure then make then make install, but […]

UNIX

UNIX/LINUX training update.

Well, two parts of my training done, and two more to go. I have to say, when I saw that I would have to spend 40 hours learning about networking and dns, I was a little worried, but now looking back at it, I really learned a lot and enjoyed what I learned. Who knew?