NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
22.55k stars 2.62k forks source link

NPM works locally but only for services on the device it's running at #3376

Open Chillsmeit opened 10 months ago

Chillsmeit commented 10 months ago

Describe the bug NPM is running on my RPi5 and works without any issues with services on the same device. The issue is that I can't make any entry work for services being hosted on my desktop PC. I'm using local/lan only, I have PiHole installed (on a different port than 80 and 443) with unbound. I have my services added on the /etc/pihole/custom.list:

192.168.1.5 nginx.local
192.168.1.5 pihole.local
192.168.1.6 jellyfin.local
192.168.1.6 prowlarr.local

192.168.1.5 = RPi5 192.168.1.6 = My Desktop PC

I can reach any service using their ips:ports directly, I can also reach nginx.local and pihole.local on multiple devices. But jellyfin.local or prowlarr.local don't work at all. Though, If I install a second instance of NPM on my desktop PC, it starts working...

My RPi5 is using RaspbianOSLite64bit and my desktop PC is using OpenSUSE Tumbleweed (without firewall)

Nginx Proxy Manager Version

v2.10.4

derrge commented 10 months ago

I'm having very similar issue. Can't proxy to anything on my LAN. Hope this gets fixed soon.

Aloekior commented 9 months ago

Are you forwarding to the correct port? For instance, for me Jellyfin only works by forwarding to the set port for the container Jellyfin is running in So in NPM I have it set for my Jellyfin subdomain to forward to the Jellyfin container at the containers port (default should be 8096, I think) and doing HTTPS with NPM and not Jellyfin — I am running everything on the same host though, not using hostname resolving; but maybe this could still help in any way

github-actions[bot] commented 3 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1: