Answer the question
In order to leave comments, you need to log in
No access to NAS by domain from LAN.?
Hello.
Given:
Synology NAS, 192.168.1.5
Router, 192.168.1.1
PC, 192.168.1.2 The
NAS is accessible from the network at https://192.168.1.5:5001. The port is forwarded on the router, the NAS is accessible from the outside.
There is a domain, site.com, which is assigned to my external IP. The NAS is accessible from the outside via site.com:5001 BUT NOT ACCESSIBLE from the local network via site.com:5001
At the same time, the router replies via site.com:80 from the local network.
Registered in the router in hosts 192.168.1.1 site.com, did not help.
Tell me, in which direction to dig? Why is everything accessible from the outside, but not from the inside?
Thank you!
Answer the question
In order to leave comments, you need to log in
look for instructions for your router on how to set up nat loopback
Когда вы пробрасываете порт наружу, то и отвечать он будет по IP-адресу интерфейса, на который сделан проброс.
В hosts надо было записывать на своей машине или поднимать DNS-сервер на роутере если есть возможность.
Тут два варианта, либо при наличии внутреннего DNS сервера, сделать на нем соответствующую A-запись с внутренним IP. Либо гуглить на тему, как настроить на вашем роутере hairpin nat.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question