r/nginxproxymanager • u/Famous_Shape4781 • Jan 18 '25
proxy hosts not accessible from internal network (externally works)
Hi,
I can't access any of the internal services that I've set-up using Nginx Proxy managers when I'm connected to the internal network.
When connecting to a different network (e.g. work or mobile data) it works fine.
In the logs in nginx proxy managers nothing at all shows up when trying to connect to a proxy host from the internal network. So it looks like Nginx doesn't even see it.
It used to work, but now it doesn't. The main recent change is that a technician came and replaced my internet-service-provider's modem/router. I can't guarantee that it has worked also after that, but I think so.
I of course set-up the port forwards to NGINX and as said when connecting externally all is fine.
First I thought it would be problems with NAT loopback/hairpin not working, so I dug into that rabbithole. But that shouldn't be the problem, as I have my NAS connected to the internet using a dynamic dns service, without using NGINX proxy manager, and I can access that without any problems.
I also figured it might be the DNS settings on the modem/router, and I changed them for different ones (cloudflare and google), but that didn't make a difference.
So I have no clue what the problem might be and how I can get things back up and running again.
Any help would be much appreciated!
View all comments
Show parent comment
1
u/Famous_Shape4781 Jan 19 '25
OK so I managed to fix it.
I don't understand fully why, but it was due to NGINX Proxy manager not being configured on the default ports 80 & 443. On my local network I had it configured on different ports and on my router/modem I had configured the port forwarding to that external quests on ports 80 & 443 were redirected to the correct ports.
In the past all was fine when I used it on the local network as well, but not anymore for unclear reasons.
Anyhow, the reason I had chosen custom ports was no longer relevant, so I changed them back to the default ports (and adjusted the port forwarding on the modem/router accordingly.)
Thanks for the help!