October 23, 20223 yr Hello I have my Hassio (home assistant) running on a VM in Unraid (Hassio has a own IP). This works fine. On Unraid I also have installed Nextcloud. To Access the Nextcloud I am using duckdns and Nginx Proxy Manager. This works fine as well. But now I want to use duckdns to access hassio. But this makes problems. I have installed the duckdns addon in Hassio. But when I want to access hassio via duckdns (I have created a own domain for hassio) I only come to the Nginx Proxy Manager welcome screen. I have tried to configure Nginx but without luck. (I have tried settings in unraid and in hassio but nothing has worked). I have no idea how I should set up this construct. Has someone an idea? Thanks
October 23, 20223 yr Author I have found the problem. The solution was quite simple. I just forgot the port when entering the external address. For all who are looking for the solution here some more detail on how I configured it: In Unraid: Configure only nextcloud and the Nginx Proxy Manager. Set the port forwarding accordingly. In Hassio: I have just configured the duckdns addon. (no Nginx Proxy Manager, etc) In the configuration.yaml enable ssl. Set the port forwarding accordingly (to the ip address of the vm, not the unraid server) (in my case port 8123) When using the external address typ: https://xxx.duckdns.org:yyyy/ (xxx ist your domain, yyyy ist the port) Two more hints: Your rouder need to support Nat loopback. And if you are using a Wireless (LTE) connection you need to apply for an own public ip (at least for my provider).
October 23, 20223 yr Hi I use NPM to access to HA Here is the imy configuration in NPM. It works with a ssl certificate 192.168.1.125 is my VM Ip's adress Maybe it can helps you. I always try to limit the number of addons to have the lightest VM possible
October 23, 20223 yr Author Thanks for the response. Unfortional, I have found another problem. I can access my server from the internal network. This works via the ip andress as well as the xxx.duckdns.org address. (for both nextcloud and hassio) But when I want to access the server via an external connection it is not working. All the ports should be set up correctly (port forwarding). I have also asked my LTE provider and they are not blocking any ports. I also have my own external ip. I have no idea what can cause this behavior. My setup. I am using a Huawei b525s in bridge mode and an netgear ax40v2. I have an ax40 in my old setup and there it is working fine. (but there a wired internet connection). Edit: I have checked all the ports (https://canyouseeme.org/) but they are closed. So I think somehow my portforwarding does not work correctly. Edited October 23, 20223 yr by eoun46055
October 25, 20223 yr Author I have reinstalled everything and I got a little bit closer to the Problem. I have followed this guide: https://www.youtube.com/watch?v=vPvuqR20tO4&t=15s To problem what I have is that I can not create an SSL certificate. This is not possible (I think) because I cannot access this webpage through my external ip address. When I typ in my external IP address (see Video 2:08) I should come to nigx webpage. This works only in the internal lan. But when I try to reach my external ip address in from the outside, the page cannot load. Somehow my external ip address “is not working” what could be the problem?
October 25, 20223 yr It could be an issue with your provider. Is your public ip address static? What is the public ip you read in the router gui? And what is the ip you read from a terminal window: curl ifconfig.me I think cgnat is active for your connection..
November 9, 20223 yr Author Sorry for the long waiting time. I have talk to my carier. It was not easy. They said that I have a public ip. No it is not static. The Ip adress from the terminal and from the router is the same. Can I check if cgnat is active?
November 9, 20223 yr If they are the same you are not under cgnat...I would double check your router/firewall settings, I have no idea other than this...
November 9, 20223 yr Author OK Thank you very much. I have moved the computer to a diverent location. With a wirded connection. This place has the same rouder. And there it works (at least the fist test) I will make more test to see if erverythink is working. I think ther is some problem with the lte connection. But I have no Idea what. In both of the setups the modem is in brige mode and a external rouder is used. The modem in brige mode cant block anythink right?
November 10, 20223 yr 14 hours ago, eoun46055 said: I think ther is some problem with the lte connection me too...but it seems even the lte carrier cannot give to you proper info..I read that even if you have a public ip you could be in some sort of cgnat..or it could be the lte carrier firewall blocking all inbound connections. I didn't understand if you tried an identical router or you moved the router too: to better identify the issue I would try to decreasing at minimum the variables and if possible I would try to use the same hardware with changing only the internet carrier (lte to wired); if it works with wired the issue is for sure the lte. If you aren't able to solve this, you can look at wireguard, it should bypass cgnat. Edited November 10, 20223 yr by ghost82
December 22, 20223 yr Author I have switch to a different location with a different provider. And everything worked fine. In Short: When I use the LTE Connection nothing is working. If I switch to a wired connection (different provider and different modem) everything is working fine. I have not tried switching LTE provider or switching LTE Modem. Because this would involve some not so small investment.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.