Duckdns problem

Got it! It was not clear to me that I had to log into HA using the public IP address not my local IP address… now I can get in.

I just have to set up security and I’m set. Thanks for all your help!

@GrahamS

{
“defaults”: [
“8.8.8.8”,
“8.8.4.4”
],
“forwards”: [],
“hosts”: [
{
“host”: “YOURS.duckdns.org”,
“ip”: “IP ADDRESS RUNNING HA”
}
]
}

I was rely hoping this code would give my iPhone and iPad access to my Hassio (version 0.59.2) on my local network. My setup work fine from external network. Cant get it to work. The “Save” button just goes inactive when trying to paste it into my DuckDns code. Have also tried to write it in here and there in the existing code.
This is how my code looks now working. Where do i put your code related to mine?
{
“lets_encrypt”: {
“accept_terms”: true,
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”
},
“token”: “hduehuehdhehueuhedhuue9090909990”,
“domains”: [
quack-quack.duckdns.org
],
“seconds”: 300
}
…?
Please advise.

Your code is for the duckdns add-on which appears to work if you can access HA from your iPhone using cellular data. ie externally.

My code from Oct 25 is for the Dnsmasq add-on for hass.io which is separate from duckdns.

Also, see my Nov 4 post about use of port 8123 for both internal and external access of HA.

Good Luck.

I am not only a newbie, but also a blind N00b who cant read.

Tried out Dnsmasq, and can´t get it (https://xxxx.duckdns.org) to work on my local network/iPad-Safari/iPad-Hassio App.

I am getting the Hassio start page using iPad/Safari (https://hassio.local:8123), but I cant log inn.

Hi,

I have have the duckdns addon up and running, no errors in the log, but I still can’t log into hass.io with https://XXXX.duckdns.org.

Any ideas?

Thanks!

have you forwarded port 8123 in your router? also, I use https://myduckaddress.duckdns.org:8123 to access externally

1 Like

Hi Dave,

Thanks for your reply. ya, I’m putting the port on the end and have port fwd 8123>8123.
I have used my Pi3 IP address for duckdns, should I have used my router IP???

Hi mikgabo in the page of the duckdns you need to put the public ip of your router, if you already did that, there are 2 more things that you need to consider 1.- in the configuration.yaml did you already change the part of the http with the link of your duckdns and 2.- remember that now you need to write in your browser https://xxxx.duckdns.org:8123 if it still not working with all of that yo can do the next
to know if you did well the port forwarding, write in your browser https://xxx.xxx.xxx.xxx:8123 using the public iP your router ( note if you are in the same network of your router and it don’t have nat loopback it would not let you see the page so try this using your 4g of your cellphone)

Hopefully this helps u!

Hi Max, thanks for your response.

My .yaml file reflects your example,

My setup includes a router provided by my ISP (bell hub 2000, wifi turned off) and a google wifi router.

I have tried the bell fibe IP, which is xx.xx.xx.xx, so only 8 #'s???.
It didn’t work when entered into address bar with :8123 on the end, timed out and error “site can’t be reached” .
Nor did it work when put in the duckdns IP location, an error came up.

I have tried the LAN IP provided by the google router with :8123 on the end and that didn’t work.

I have tried the google router IP with :8123 on the end and didn’t work either, timed out and error “site can’t be reached” .

I have the Pi3 port forwarded on both router and Bell hub modem 8123>8123 TCP.

Also, I have a static IP address for my Pi3.

Many thanks!

Ok this is what I know, but I am not and expert in this so maybe I am wrong the modem is the one to interpretate the signal of internet from your provider, and the router they only expand and organice the traffic of the signal from the modem into the diveces of your network, so in the properties of your modem you have a local IP address and a public IP address, first try to connect to your modem with your cellphone using the 4g and writing the public IP address in of your modem in a browser, if your modem page appears and you can connect to your modem ! That the IP address That you need to put into the www.duckdns.org and after that still using the 4g try to connect to homeassistant using https://xx.xx.xx.xx:8123 (note the xx means the public ip adress of the modem) and this will redirectioned to the raspberry, if all this works now you can try using your https://xxxxx.duckdns.org:8123

So I know i have my modems external IP now as I verified using www.whatismypublicip.com.

I have port forwarded on both wifi router and modem to 8123>8123 on my rp3 IP address.
I used the external IP from my modem and added :8123 on both my laptop and smartphone and connection timed out.
I have also just tried the external IP on my smartphone and it also timed out.

This is getting quite exhausting lol. Many thanks for your assistance and taking the time to help me out Max!

I FIGURED IT OUT! I turned the wifi on my Bell router back on and connected the pi3 to that network, port fwd and used the wifi/router external IP and it worked!

I would like to try and see if I can get it to work on my old configuration of bell router and google wifi.

I will let you know! THANKS!

OK lol Cross one bridge and run into another wall.
Now i can access HassIO from my smartphone, BUT when I try to use https://XXXX.duckdns.org:8123 it just times out!!!

BUT…if i use http://XXXX.duckdns.org:8123 it works!

I know it’s a little complicated I did it like more than 10 times to make it run ehen j start with this now in my home I have no problems at all, changing subject if it is working with http and not whit https you need to be sure that you make the lets encrypt certificate good and and that you include the keys in the part http of the configuration.yaml

1 Like

Got er all sorted now!

Thanks for all your assistance Max! Couldn’t have done it without you!

Question for ya, on my internal network im signed in as https://XXXX.duckdns.org:8123, but in the chrome address bar it says Not secure in red and the https is lined out. Why is it doing that?

1 Like

No problem! It is good to know that you could do it, and the las question you ask the true is that I don’t know why it says that but I think that maybe you can solve it in the configuration of the securities of the chrome browser telling it that that page is secure, something like that

solved my issue! thanks! the :8123 was helpful!

I have a weird issue with Dnsmasq “Options” text field in the front end (Chrome latest version).
Whatever I try to fill in, when I click save, it doesn’t save the values. It reports no error, but when I leave the tab and go back in my entry is replaced by the default one.
Syntax is correct, so it’s not a typo, and save button it not grayed out.
Any clues? Anyone with the same issue?

Guessing Here,
Uninstall dnsmasq and reinstall.
Use Firefox

Tried. Didn’t work :frowning:
I guess I’ll have to stick with two links for now, one for local and one for external access.
Thanks anyways!