riscbroker
Expert Member
- Joined
- Sep 29, 2006
- Messages
- 2,468
- Reaction score
- 347
I thought letsencrypt was part of the duckdns setup, so I did not look any further.
South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
You do not need to setup letsencrypt separately.I thought letsencrypt was part of the duckdns setup, so I did not look any further.
Connection times out
I set up the port forward, put this in configuration.yaml and restarted HA:
http:
base_url: http://xxxxxxxx.duckdns.org:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
ip_ban_enabled: True
login_attempts_threshold: 3
Do I need to restart the router?
You're quite correct - that line now reads:Doesn’t make sense that you have http with certificates that apply to https.
I’ve not done this setup myself but those two things don’t correlate on any configuration.
It should either all be https as it stands there, or if it’s going to be http (pointless) the certificates would need to come out.
Also makes no sense that it would point to 8123. You want it all to go to 443 surely?
Granted I don’t use it like this and have separate Dockers for all these things but the above Is the “proper” way to do it.
I have a Raspberry Pi on loan and just shipped off the kids so will be doing exactly all this today.
First fighting with how to write a Micro SD card without a full size adaptor....
Thanks for this, so I can conclude that letsencrypt etc is all set up properly and I don't need to take any furthers steps to secure my network/machine?You do not need to setup letsencrypt separately.
The docs are quite good and list the valid parameters.
![]()
addons/duckdns/DOCS.md at master · home-assistant/addons
:heavy_plus_sign: Docker add-ons for Home Assistant - home-assistant/addonsgithub.com
IMHO, you should be trying to access it via the public IP to make sure your router config is correct then worry about duckdns.
Yes, an easy way to check is if you can see the lock icon next to the URL in your browser.Thanks for this, so I can conclude that letsencrypt etc is all set up properly and I don't need to take any furthers steps to secure my network/machine?

If you use AdGuard/PiHole you can use that for DHCP.Next problem my router doesn't want to accept more reserved IP addresses.
I have a usg3 lying around but with hat my blink cameras refuse to connect to the cloud.
What I'm worried about is if my pi is down for whatever reason how will DHCP work?If you use AdGuard/PiHole you can use that for DHCP.
I think there's also a dedicated DHCP add on for home assistant. I just use PiHole (need to switch to AdGuard in the near future).
Hmmmm. The HA instance running on the laptop with the virtual machine is not secure, but when I access HA remotely with my phone it seems to be a secure connection...Yes, an easy way to check is if you can see the lock icon next to the URL in your browser.
If the certs are applied, it will say the connection is secure.
Example:
View attachment 854325
It won't. My Pi is on backup power so it's not an issue for me.What I'm worried about is if my pi is down for whatever reason how will DHCP work?
I also want to implement something like this
My OCD kicking in
'm a network administrator so I may have gone over board but this is mine. 192.168.0.1 - 10 is network infrastructure 11 - 29 is servers 30 - 39 is laptops 40 - 49 is cellphones and tablets
100 - 119 is media devices 120 - 139 is light bulbs 140 - 149 is ip cameras 150 - 159 is iR blasters 160 - 180 is other devices
200 - 250 is DHCP pool
250 up is for testing
Everything has a place and I have a table with ip's and Mac addresses. Now here is where it gets interesting, because everything has already been assigned an IP there is no real need for DHCP except for when mates come over. So I have Hassio scan 200 - 250 every 10 mins and it sends a notification to me if it finds a device. Early warning if someone is on my network that shouldn't be there
That's an issue for.It won't. My Pi is on backup power so it's not an issue for me.
Are you accessing it via the domain name or IP address on the local network?Hmmmm. The HA instance running on the laptop with the virtual machine is not secure, but when I access HA remotely with my phone it seems to be a secure connection...
Makes sense. The problem is that I cannot access HA on the laptop where it is installed if I try the domain name - the connection just times out.Are you accessing it via the domain name or IP address on the local network?
If you access it via the domain name it will be secure.
If you access it via the IP it will not be secure as the address you're using doesn't match the certificate. That's expected.
My OCD kicking in
'm a network administrator so I may have gone over board but this is mine. 192.168.0.1 - 10 is network infrastructure 11 - 29 is servers 30 - 39 is laptops 40 - 49 is cellphones and tablets
100 - 119 is media devices 120 - 139 is light bulbs 140 - 149 is ip cameras 150 - 159 is iR blasters 160 - 180 is other devices
200 - 250 is DHCP pool
250 up is for testing
Everything has a place and I have a table with ip's and Mac addresses. Now here is where it gets interesting, because everything has already been assigned an IP there is no real need for DHCP except for when mates come over.
I do something similar but have DHCP hand out ips based on Macs. I have three vlans. Lots of fun!I also want to implement something like this
My OCD kicking in
'm a network administrator so I may have gone over board but this is mine. 192.168.0.1 - 10 is network infrastructure 11 - 29 is servers 30 - 39 is laptops 40 - 49 is cellphones and tablets
100 - 119 is media devices 120 - 139 is light bulbs 140 - 149 is ip cameras 150 - 159 is iR blasters 160 - 180 is other devices
200 - 250 is DHCP pool
250 up is for testing
Everything has a place and I have a table with ip's and Mac addresses. Now here is where it gets interesting, because everything has already been assigned an IP there is no real need for DHCP except for when mates come over. So I have Hassio scan 200 - 250 every 10 mins and it sends a notification to me if it finds a device. Early warning if someone is on my network that shouldn't be there
Why Ubuntu 16.04? Why not 18.04 at the very least.So now that the Home Assistant bug has bitten properly, I'd like to set up an install on a Samsung NC10 that is unused. This is a 32 bit machine, 2GB RAM, 1.60 GHz Atom processor. I currently have it dual booting Windows 7 and Ubuntu 16.04.
I've tried a few methods of installation: in a VM on Windows, in a VM on Ubuntu, and with a script install, but I'm getting nowhere.
I understand that the 32 bit processor may impose a limitation (Docker??) but I'm battling to find an install method that will work on this particular architecture. Am I wasting my time or is there a build/image of Home Assistant/HassOS/Hass.io that I can successfully install on this machine?