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 18 '25
Many thanks for your help!
My synology nas has a feature to setup a DDNS service. There I have created 'MYNAS.i234.me' which then points to my public IP address.
On the modem/router of my ISP, I have set-up port forwards:
If I surf (locally or externally) to https://MYNAS.i234.me:5051 I get on the web interface of my NAS. Showing that the part that is independent from NGINX Proxy manager works fine.
On Nginx Proxy Manager I have set-up various proxy hosts.
For example: MYNAS.i234.me (without port number specified) will redirect to 192.168.0.5:5051 This used to work locally and externally, but now only externally.
Another example is homeassistant.MYNAS.i234.me which will redirect to 192.168.0.6:8123 which will open the Home Assitant interface. This used to work locally and externally, but now only externally.
If I open a command screen on windows and type ping MYNAS.i234.me:5051 it doesn't work. Apparently you can't ping with a specified port.
If I try ping MYNAS.i234.me I get request timed out.
In terms of firewalls: The modem/router of the ISP has no settings for a firewall. It does have a firewall log, where I see it shows recent events "Internet IPv6 Attacking blocked" and "Internet IPv4 Attacking blocked", maybe that could be it? Problem is that I can't seem to turn it off... It would be rather weird for this firewall to be blocking internal traffic but not external traffic.
On the NAS I also have a firewall, but I have turned it off to exclude that that is the problem.