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.

The following link is the graphical representation of the networking done in my home.

I have a DLINK DIR-600L Wireless router which is connected to modem via a switch. As this router have DDNS service enabled, I registered a domain in 'dyndns.org' and configured the router.

Then I setup a webserver under my router network(3) and setup the port forwarding in router from ip '192.167.0.101'. Now I can access the hosted website anywhere in my home in ip address '192.168.0.2'. Then I configured the DDNS to ip '192.168.0.2'. The problem is that this dyndns domain name can only be used inside my home network(1). I need to access my site from anywhere in world via internet. How can I do this?

http://i.stack.imgur.com/NNBEX.png

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

You need to forward the port in your modem as well, and point the DDNS to your external address.

share|improve this answer
    
I also had that idea. But the modem and router is connected using a switch. How can i port forward in a switch? –  nuke1010 May 17 '13 at 12:06
    
You can't. But you don't need to, since switches work at a lower level. –  Ignacio Vazquez-Abrams May 17 '13 at 12:06
    
I already done port forwarding in router. IP Address: 192.167.0.101, Public port: 80, Private port : 8080, Traffic type: TCP & UDP. –  nuke1010 May 17 '13 at 12:12
    
What if I connect another dlink router between modem and switch? Also I could set that router with the ddns service. Can this solve it? –  nuke1010 May 17 '13 at 12:19
    
The more routers you have, the more port forwarding you need to do. –  Ignacio Vazquez-Abrams May 17 '13 at 12:20
show 1 more 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.