NginxProxyManager / nginx-proxy-manager

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

Why I created a Proxy Hosts, it is not easy to use? #3184

Open HKTY569 opened 1 year ago

HKTY569 commented 1 year ago

I would like to ask, I created Proxy Hosts using docker, but I cannot access it from the external network. Is it the problem of my creation? I am using a HUAWEI router, and the dmz host I opened, the port mapped to my dmz host is openwrt, every time I create Proxy Hosts, I jump to openwrt locally, and the public network cannot access,what should i do, can anyone help me

NetworkSettings Bridge EndpointID 8683740192d085e7d8fbe5918078825e11f492316dc7a151883a220d94334c3b Gateway 172.17.0.1 GlobalIPv6Address GlobalIPv6PrefixLen 0 HairpinMode false IPAddress 172.17.0.2 IPPrefixLen 16 IPv6Gateway LinkLocalIPv6Address LinkLocalIPv6PrefixLen 0 MacAddress 02:42:ac:11:00:02 Networks bridge { Aliases: null, DriverOpts: null, EndpointID: 8683740192d085e7d8fbe5918078825e11f492316dc7a151883a220d94334c3b, Gateway: 172.17.0.1, GlobalIPv6Address: , GlobalIPv6PrefixLen: 0, IPAMConfig: [object Object], IPAddress: 172.17.0.2, IPPrefixLen: 16, IPv6Gateway: , Links: null, MacAddress: 02:42:ac:11:00:02, NetworkID: 090e66276834418a27602f26c20d23c39dd0e2e43d346519326ae8a1d3f29b34 } Ports 443/tcp 80/tcp 81/tcp

ctf-nc commented 1 year ago

This issue seems not related to nginx proxy manager, rather it is the problem of your own settings. With so little information Im afraid I can't help you much. But you can try the following troubleshooting first.

  1. Make sure your dmz is working correctly. Do not use nginx proxy manager to proxy ur service first, rather use ur dmz to point it directly to one of ur service ip and see if u can access it from outside. If you cannot access the service, its the problem of your router settings. (Here i assume the OpenWrt as your router, not the HUAWEI one.)

  2. Check if you can access your service locally by ip first. if you can access your service by private ip (192.168.x.x) then the service is working properly.

  3. Make sure ur isp is not using nat. This is a hard one, some ISP does not provide a "real IP" to the user, rather they have a nat service on their side. With this you are never going to be able to access ur service outside. Please consult your ISP first.

With that said, I highly recommend you to read more guide on networking before posting a issue.

HKTY569 commented 1 year ago

This issue seems not related to nginx proxy manager, rather it is the problem of your own settings. With so little information Im afraid I can't help you much. But you can try the following troubleshooting first.

  1. Make sure your dmz is working correctly. Do not use nginx proxy manager to proxy ur service first, rather use ur dmz to point it directly to one of ur service ip and see if u can access it from outside. If you cannot access the service, its the problem of your router settings. (Here i assume the OpenWrt as your router, not the HUAWEI one.)
  2. Check if you can access your service locally by ip first. if you can access your service by private ip (192.168.x.x) then the service is working properly.
  3. Make sure ur isp is not using nat. This is a hard one, some ISP does not provide a "real IP" to the user, rather they have a nat service on their side. With this you are never going to be able to access ur service outside. Please consult your ISP first.

With that said, I highly recommend you to read more guide on networking before posting a issue.

Thank you for your answer. I will try to open the DMZ on my main router. The openwrt router is my bypass router and is usually used for my forwarding service. When I use the domain name to access, the jump is openwrt, but my main router only allows I start a DMZ host. . . .

github-actions[bot] commented 7 months ago

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