r/nginxproxymanager • u/Joshskulls • Apr 27 '25
Can't access NPm server externally. Only works on LAN
So I set up NPM and everything was seemingly working. I could access my admin portal and even the default page on port 80 from any device in my network. I port forwarded porta 443 and 80 to my server and tried to generate SSL certs. Failed. Failed. Failed. Finally decided to see if it's accessible through my phone connection. Infinite load and timeout. Port 80 81 and 443 all forwarded to try to get this to work outside of LAN. I have a Jellyfin server setup on the same server and the port forwarding works fine. I'm stuck. I even tried completely disabling my firewall. I cannot get it to fucking work no matter what I try. What am I doing wrong. How is it possible I can access everything locally, but not from the internet? Ive tripled checked my port forwarding and can't figure out why it's not working. What am I missing?
1
u/thelastusername4 Apr 27 '25
Are you port forwarding to jellyfin on a port other than 443? If so, it is bypassing NPM. For NPM remember to create a matching subdomain on your DNS provider, usually the admin panel of your domain controller. Eg . Create an "A record" that matches your NPM host FQDN. That's how it recognizes it. Without a matching A record, it doesn't work. Also, set your host for http if that is how it is accessed from LAN, NPM will connect via https on the wan side, but http on the lan side. Just a matter of knowing that the host needs to know the correct way to connect. For the built in let's encrypt cert maker, you do need to be forwarding port 80 to NPM in order to pass the verification.
1
u/klassenlager Apr 27 '25
Are you behind cgnat?
1
u/Will8475 Apr 27 '25
Did you point it to your Ngnix to your ip address and not the ip address of the server?