Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've configured a dynamic IP following this instructions:

http://ubuntulinuxhowto.blogspot.com/2006/06/dynamic-dns-no-ip.html

The dynamic IP is working allright from outside the LAN, redirecting it to my computer which is 192.168.1.50, but when I try to access it from inside the LAN, what I get is the configuration-page of the router, which is in 192.168.1.1

What am I missing?

share|improve this question
    
ok u need to DMZ , u did that ? –  One Zero Feb 7 '12 at 18:25
    
plz have a look i have full detail on it askubuntu.com/questions/100550/… –  One Zero Feb 7 '12 at 18:29
    
What are you trying to access in your computer? –  Bruno Pereira Feb 7 '12 at 19:06

1 Answer 1

up vote 0 down vote accepted

You are missing nothing. This is how simple NAT works. You can work around the issue by adding your dynamic name to the hosts file in your computer and assign it to your local IP (better add it to the router if it allows it).

Let's say that your router has 192.168.0.1 as its internal address and 200.200.200.200 as it's external (internet facing) IP. The external dns are going to resolve your name to the external IP of the router (200.200.200.200). Your computer will ask the router to connect to this IP, and it knows it is its own. As the router is only doing NAT from outside to inside, it will answer it the same way that any other internal query (showing it's configuration page).

What I'm trying to explain is that it's not like your query is going out to the internet and enter again through the router, it will never leave your own LAN.

If you really want to change this, you can try to flash your router with an open firmware that allow more complex configurations, but I don't really believe that it's worth the trouble.

I believe that the saner configuration is to make your name to resolve to another IP for the internal network.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.