I'm pretty new to selfhosting and homelabs, and I would appreciate a simple-worded explanation here. Details are always welcome!

So, I have a home network with a dynamic external IP address. I already have my Synology NAS exposed to the Internet with DDNS - this was done using the interface, so didn't require much technical knowledge.

Now, I would like to add another server (currently testing with Raspberry Pi) in the same LAN that would also be externally reachable, either through a subdomain (preferable), or through specific ports. How do I go about it?

P.S. Apparently, what I've tried on the router does work, it's just that my NAS was sitting in the DMZ. Now it works!

A scheme of desied network. NAS, available by nas.example.com, and Raspberry Pi, available by pi.example.com, are connected to a router, which gets DNS data
you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 1 year ago (4 children)

Tried doing that - here's how I've set it up:

Expected behavior: now when I enter :8100, I reach 192.168.0.113:81

Real behavior: connection times out

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 1 year ago* (3 children)

    Stupid question, but is the service reachable at all? What if you map 81 to 81? Or whichever port the other, confirmed-to-work service uses? What if you map that other service to 8100?

  • source
  • parent
  • hideshow 3 child comments
  • [–] [S] 3 points 1 year ago* (2 children)

    Reachable through LAN, but not by URL, even if I port 81 to 81

    P.S. Solved! NAS was sitting in the DMZ and this broke forwarding.

  • source
  • parent
  • hideshow 2 child comments