Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I set up a DynDns account to point a domain to my dynamic IP server at home. From any "outside" network, the connection is working and pointing to my server. But when I point my browser to my URL (xxxx.dyndns.org) from within my LAN it goes to the login page of my ADSL modem.

What am I doing wrong?

share|improve this question

migrated from serverfault.com Mar 8 '11 at 11:22

This question came from our site for professional system and network administrators.

    
I have exactly the same problem. I've managed to gain telnet access to my router, and can execute iptables commands, which I assume can solve the situation somehow (if only I knew). –  aaaidan Mar 12 '11 at 5:05
add comment

2 Answers

up vote 4 down vote accepted

Your not doing anything wrong, this is exactly how dyndns works. Dyndns is returning your public ip for your home internet connection, which the router responds on. Because you are inside the network it is assuming you want to connect to the router itself and not the port forwarding rules because you are already behind the firewall. To be able to use your dyndns url inside your network, your router needs to support NAT reflection (or port reflection) this allows internal users to connect to your public IP and it reflects back to the right internal IP through the routers port forwarding rules.

If you dont have this you will need to either run dual dns, or use other methods such as overiding your hosts file when internal on the network

share|improve this answer
add comment

If your router doesn't support NAT reflection you could use port forwarding, but this would largely depend on what you are hosting.

share|improve this answer
1  
In my case, I have already set up port forwarding but it still doesn't work from inside the network... :( –  aaaidan Mar 12 '11 at 5:06
    
I'm hosting some test websites (running Wordpress), and I set up this dyndns account to be able to show my stuff to other people. They can access to the home page, but when they click on any link, they get an error (as the links are internal IPs from my LAN). As a solution I thought of using my dyndns address as a base URL for my developments, but then I just go to my router login (cf my initial question) –  mike23 Mar 17 '11 at 20:33
add comment

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.