How to access an node of an LAN via WAN?

gilzero

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.

JoshP

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.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to connect LAN to WAN with routing?

From Dev

Linux workstation in LAN suddenly cannot access WAN

From Dev

Cannot access LAN with WAN address from within my LAN

From Dev

How to link two routers LAN to WAN

From Dev

How to bridge WAN to LAN on an OpenWRT router

From Dev

Block WAN Access - Allow LAN Access - Linux hosts

From Dev

Nextcloud WAN/LAN - How to limit it only to my local LAN

From Dev

WiFi appears connected but no LAN/WAN access – Windows 10

From Dev

on FreeBSD, how do I open a port on WAN but not on LAN?

From Dev

How do I configure basic LAN to WAN on a Cisco 1921 router?

From Dev

Accessing a LAN resource on WAN?

From Dev

LAN/WAN Combo Slot?

From Dev

LAN to WAN connection not working

From Dev

how to access PC from wan by domain

From Dev

How to securely access Home NAS from WAN?

From Dev

Unable to SSH from WAN into LAN device via real IP when OpenVPN is running

From Dev

Access vhost via ip address on lan

From Dev

Cascading Routers (LAN to WAN) and DNS

From Dev

WAN and LAN over same wires

From Dev

Connect a wireless LAN to a WAN wirelessly

From Dev

Wake on Lan works from LAN but not WAN

From Dev

WAN to LAN vs LAN to LAN routers cascading performance

From Dev

How to use a 4G phone to provide WAN/Internet service to a LAN?

From Dev

How to use a 4G phone to provide WAN/Internet service to a LAN?

From Dev

How to route a Router's wired WAN through my PC's Wireless LAN?

From Dev

How do I setup a wireless connection for a LAN to WAN build up between two Routers

From Dev

WEINRE : how to debug my app over the WAN (on a machine that is oustide my LAN)

From Dev

How does my PC decide whether I meant a LAN or WAN adress?

From Dev

How to connect to sql server database via LAN

Related Related

  1. 1

    How to connect LAN to WAN with routing?

  2. 2

    Linux workstation in LAN suddenly cannot access WAN

  3. 3

    Cannot access LAN with WAN address from within my LAN

  4. 4

    How to link two routers LAN to WAN

  5. 5

    How to bridge WAN to LAN on an OpenWRT router

  6. 6

    Block WAN Access - Allow LAN Access - Linux hosts

  7. 7

    Nextcloud WAN/LAN - How to limit it only to my local LAN

  8. 8

    WiFi appears connected but no LAN/WAN access – Windows 10

  9. 9

    on FreeBSD, how do I open a port on WAN but not on LAN?

  10. 10

    How do I configure basic LAN to WAN on a Cisco 1921 router?

  11. 11

    Accessing a LAN resource on WAN?

  12. 12

    LAN/WAN Combo Slot?

  13. 13

    LAN to WAN connection not working

  14. 14

    how to access PC from wan by domain

  15. 15

    How to securely access Home NAS from WAN?

  16. 16

    Unable to SSH from WAN into LAN device via real IP when OpenVPN is running

  17. 17

    Access vhost via ip address on lan

  18. 18

    Cascading Routers (LAN to WAN) and DNS

  19. 19

    WAN and LAN over same wires

  20. 20

    Connect a wireless LAN to a WAN wirelessly

  21. 21

    Wake on Lan works from LAN but not WAN

  22. 22

    WAN to LAN vs LAN to LAN routers cascading performance

  23. 23

    How to use a 4G phone to provide WAN/Internet service to a LAN?

  24. 24

    How to use a 4G phone to provide WAN/Internet service to a LAN?

  25. 25

    How to route a Router's wired WAN through my PC's Wireless LAN?

  26. 26

    How do I setup a wireless connection for a LAN to WAN build up between two Routers

  27. 27

    WEINRE : how to debug my app over the WAN (on a machine that is oustide my LAN)

  28. 28

    How does my PC decide whether I meant a LAN or WAN adress?

  29. 29

    How to connect to sql server database via LAN

HotTag

Archive