Lets say I have a router that is connected to the Internet. An WAN IP address is given by ISP. It is using PPPoE ADSL, the IP address is not static, every time it connected, assigned a different IP address.
There is an web server 192.168.0.100 running in the LAN.
I heard something like DMZ + DynDNS can do the job? But not sure what these are and how they work.
Any there way(s) to access the local node 192.168.0.100 via WAN, so that I can reach that node even I am not home.
By default, most routers will block traffic from outside the local network. If you want to have access to something on the LAN side of the router, you have to configure the router to allow that traffic to pass through.
One way is to open up specific ports (like, say, 80, if you are hosting a website). Traffic hitting the router on port 80 would then be allowed into the LAN. The second part of the port-forwarding configuration is to tell it which computer that port 80 traffic should go to. If you were hosting a website on 192.168.0.100, you'd forward 80 to that address.
Another way is to use a DMZ. This is functionally equivalent to opening up ALL the ports on the router, and sending all that traffic out a LAN port. It has its uses, but this is probably not ideal for you.
DynDNS, as Alen mentioned, is an online service that will pay attention to what your public facing IP address is, even as it changes. Instead of needing to know that IP, and entering that into a browser or terminal, or whatever, you enter a domain name (like myhouse.dyndns.com, or something like that) that is always pointing at your public IP.
In your case, I would set up a free DynDNS account, and configure port-forwarding on your router.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments