Solved

How does dynip.com work to expose your PC from behind a router?

Posted on 2003-11-09
5
241 Views
Last Modified: 2010-04-17
How does dynip.com work to expose your PC from behind a router?  As I understand it, the router issues internal addresses like 10.0.?.? or 192.168.?.? which are not routable over the internet.

So how do they do it?

Jim
0
Comment
Question by:JimHubbard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:svenkarlsen
ID: 9711563
Hi Jim,
there is two ways of doing it: Network Address Translation (NAT) or Port Address Translation (PAT). Both expression are also used for the translation of addresses in traffic FROM private networks to the public. For incoming NAT and PAT we almost always talk about "static", - i.e static NAT and static PAT, - meaning that the routing is always predictable.

In both cases, the router does the job.

In NAT, you tell the router to send all trafic directed to [public address] on to the internal host with [private address]. In this case you will need 1 public address for each private address, so not much profit in that.

With PAT, the router looks at the requested port in incoming traffic, and based on that, reroutes the traffic to a specific host on the private subnet. I.e. incoming traffic aimed at port 80 (the http or 'web' port) can be directed to an internal server.

With PAT you can have 1 server for each port you want to use, - e.g. 1 web-server, 1 mail-server, 1 ftp-server, and so on.


Kind regards,
Sven
0
 

Author Comment

by:JimHubbard
ID: 9711606
Sven,

   I understand what you are saying, but the software from DynIP.com does not alter any router settings internally (AFAIK).  So how do they pull it off?

Jim
0
 
LVL 9

Accepted Solution

by:
svenkarlsen earned 500 total points
ID: 9711669
Jim,
you cannot control a router without configuring it. A router decides what goes where and why, so if you imagine a router setup not to allow any incoming traffic, then, regardless of how you configure a computer on the private network, it will not get any incoming traffic to 'manipulate'

I'm  sorry Jim, - I read your question without focusing on the "dynIP.com":

Their offer is not to handle what I mentioned under NAT & PAT, - they offer to handle situations where your public IP is constantly changing (because you havent bought a 'static' IP at your ISP.

If you get an account at some ISP with a 'dynamic' IP address, that means that your public IP is unpredictable, - i.e. the ISP is allowed to change it whenever they feel like it (which they will do, bcause they want you to pay for a static IP ;-)

Now, - if you have a domain-name (say: mydomain.com) and you have a webserver on that domain, then mydomain.com has to point to your IP address if people should be able to reach you by typing mydomain.com in their browser. But your IP keeps changing if you got a dynamic public IP, so what do you do ?

Well then you go to someone like dynIP.com or similar (there's many providers of this service), and they make sure to keep track of your current public IP and to publish it as the IP of mydomain.com.

I know this sounds a bit complicated, but it all boils down to: what do you want to do (and this is a question for you):

1. do you want to have a public web-(or other-) server at your home ?
2. are you just curious ?

If 1.: try talking to your ISP about it, - explain your needs and get his prises. Then check-out 2 or 3 alternatives before you make any decisions.

if 2.: search the net for "IP names howto", "IP dns howto", "IP names tutorial", "IP dns tutorial" and similar. There's a lot of info out there and by searching for tutorials you will find many excellent entry-point papers on most subjects.

Kind regards,
Sven
0
 

Author Comment

by:JimHubbard
ID: 9711804
Sven,

I have 3 servers at home off a cable connection, with 4 static IPs and 3 other machines on a DSL account with dynamic IPs.

I guess I misunderstood their software (wish i could submit a screenshot) where it asks if you are on a LAN with a static IP.  I inferred that they meant the static IP was an internal one, because that's the one they show next to the question AND because if you have a static external IP, why would you be using their service?

Thanks for your replies!

Jim
0
 
LVL 9

Expert Comment

by:svenkarlsen
ID: 9711822
Jim,
The services dynIP.com is providing, is more typically known as "Dynamic DNS" (remember this if you need to search for providers on the net).

if you need to make your internal boxes publicly available, then it's your router you should focus on. Check out your documentation and search for "static", - that's the keyword, because various vendors tend to use other names than NAT and PAT. It is known to be called 'tunnels' , 'links' and whathaveyounot....;-)

Regards (& thx for pts!)

Sven
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question