Home Assistant Remote Access for FREE - DuckDNS + LetsEncrypt + Single URL
ฝัง
- เผยแพร่เมื่อ 7 มิ.ย. 2024
- In this video I will show you step by step everything you need to know to get remote access working on your Home Assistant, from setting up a free domain name on DuckDNS to setting up a single seamless URL experience. We also discuss some other remote access solutions and other security considerations to be aware of.
Hardware to run Home Assistant:
Raspberry Pi 4: amzn.to/2Dviwyh
Micro SD Card: amzn.to/3lqBk2v
Micro SD to USB Adapter: amzn.to/2GcAk1P
If you'd like to support me and future projects:
Patreon:
/ everythingsmarthome
Buy Me a Coffee:
www.buymeacoffee.com/EverySma...
Written Article:
everythingsmarthome.co.uk
EVERYWHERE YOU CAN FIND ME:
Everything Smart Home Community Discord:
/ discord
Twitter: / everysmarthome (@EverySmartHome)
Instagram: / everythingsmarthome
Facebook: / everythingsmarthomeoff...
#homeassistant #smarthome
00:00 Intro
01:08 Requirements
02:33 Remote access options
03:37 Quick overview of steps
04:22 DuckDNS domain name setup
05:04 Port Forwarding
07:14 DuckDNS Home Assistant install and setup
08:46 Certificates explained
09:40 Port forward validation
10:29 Single URL's explained
11:17 NAT Loopback explained
11:55 NAT Loopback Testing
12:31 DNSMasq add-on installation and configuration
13:55 DNSMasq validation and testing
14:37 Router DNS servers
15:00 Single URL Testing
15:43 Internal/external URL configuration change
16:13 Security considerations and checks
17:32 Enabling IP Ban
17:56 Outro
________________________
Some of the links above are affiliate links, where I earn a small commission if you click on the link and purchase an item. You are not obligated to do so, but it does help fund these videos in hopes of bringing value to you! - วิทยาศาสตร์และเทคโนโลยี
You deserve an award for that marathon! Thanks,
Haha thanks Ryan, appreciate it!
THAAAAAANK YOU SO MUUUUUCH. Just discovered you and I am so impressed. You are not only a greater teacher and clearly show step by step how to do everything but you are so got at front of the camera. This is so rare for tech savvy people. Keep up the good work.
Hello, thank you very much my friend, really appreciate that! Means a lot 🙏
One of the few tutorials where everything was where it was meant to be. Great work!
Thank you sir!
Lewis, this is an exceptional video. I've been using computers and working in this industry for over 40 years, I've trained thousands of people. Lewis, you have that skill of putting exverything together and explaining stuff in a simple, understandable way.
Thanks so much, that means a lot 🙏
Couldn't agree more, this walkthrough is awesome! I think it took me 1 hour (I expected at least half a day).
Man, this was an amazing video! Thank you so much! Definitely subscribed for more! It's really clear that you've put effort into explaining this in a very clear way to people that has not done this for 20 years! Even if you have. That is truly commendable, and is definitely not an easy thing to do!
Hey, thank you so much for your kind words, I very much appreciate it, thank you 🙏
Gold mine of information! Particularly enjoying the security considerations part :)
Thanks Gio, glad it was useful information and not just ramblings 😂
I hardly ever write comments when watching multiple "how to" videos on getting things working...BUT, you are absolutely the best! I watched someone else's video on how to set this up and I got locked out of my HA because the guy missed to mentioned some steps that you covered. very helpful and thanks for saving the day for me!
Thank you very much for the kind words and for taking the time to comment, really appreciate it! Glad you got everything working!
You always have a different way of solving every issue I have tried to solve by other means. Most other channels are doing the same things but you get there a different and more direct way. I am supposed to have a loopback router but apparently not. Now, it doesn't matter. Thank you!
Thank you so much, that means a lot! 🙏 My technical background helps me a lot when it comes to these things haha!
Wow! Thank you so much for this excellent tutorial. You have got me to the NAT Loopback, and you have armed me with enough to get to the single URL nirvana.
Thank you John, appreciate your support! Glad you got it working so far!
I spent HOURS trying to get this to work, using other TH-cam videos, reading up documentation, and I kept hitting a brick wall. Thank you so much for explaining everything properly for dummies like me, you have made all of this stuff actually accessible. Hugely appreciated.
Glad it was useful!
What were you stuck on?
Agreed! I used another TH-cam video & other info online but it did not work & I had to rely on Everything Smart Home to get me through the process in a logical precise manner whilst really learning along the way! :) Thanks again! That one took a while... haha :D
Excellent video! Just getting started with Home Assistant and your channel is now my go to for all my questions and problems (also nice to hear a familiar friendly Scottish accent too!)
Complete noob here, was struggling to get everything working and finally found your video, many thanks you're awesome !
Glad it was useful! 🙏
For those struggling with the DuckDNS setup, he seems to skip over installing and configuring LetsEncrypt, so I tried that first but was still getting errors configuring DuckDNS. I was able to save my config by setting the alias to "[]" (empty brackets).
Massive thanks for making something difficult and full of pitfalls so straightforward. It worked!
Thanks Chris!
Hacs
Can't thank you enough! I struggled all day for this to work, seen a bunch of videos and made a lot of googling but only your video made it happen. Thanks! You made it very easy to follow. I add this video to my favorites, cause I'm going to need this for sure in the future. Great lighting and video quality btw. cheers!
Thanks Rui! Glad you liked the video and it was useful and thank you for the support, appreciate it!
Thank you so much for this guide. I'm new to HA, it took me just an hour, then 3 days of pulling my hair out because I couldn't get it working, turns out my isp were blocking all my ports, a 10 minute call to them & BAM! Job done. Cheers.
Great video Lewis! I could have done with this about a week ago, would have saved me a few headaches I can tell ya😂
Loving the channel, your content is easy to understand for a novice like me. Keep up the good work.
Thank you sir, appreciate it! And damn next time I'll get there in time 😜
Thanks so much for this video, it helped me find out I was on a CGNAT and a quick message to my ISP and they changed it so I have my own IP. I've been trying this for months but just that tiny snippet of the video when you talked about CGNAT helped so much! thanks so much
Ah man that's awesome, glad it helped! That makes me happy you got it working! 🙏
@@EverythingSmartHome meanwhile my ISP wants to charge me $5/month for turning off CG-NAT. I think I'd rather dump that into Nabu Casa. Unless there's another non VPN way to do this.
That sucks! Yeah would definitely recommend just going via Nabu casa, there is other ways to do it but would involve slightly more cost anyways so
Thank you so much for the video. I spent hours trying to figure it out because I am a total noob. Created 2 domains for nothing coz didn't really know the use. Finally you came in! Done now and I can proceed with the automation I want to do. Thanks again. SUBSCRIBED !
This was amazing. I had followed some other instructions to set up duckdns but was not able to get internal network AND external network access to work. Your clear instruction got me there!
As always. Great content. Thank you
Thank you my friend 🙏
You're a God, thank you for all your effort. Finally got me to where I needed to be.
Haha thanks man appreciate it!
Looked at so many (outdated) articles before I saw your vid. Now I got it all working. Thank you so much!
Excellent, thanks!
This was super helpful. Thank you for taking the time to lay out all this information in such an easy to follow way. I'm all set thanks to you.
Thanks for taking the time to comment, appreciate it 🙏
Hello! Would you consider doing one of your awesome tutorials for a non- hassio install (particularly for a Docker install)? Given there's no add-ons, I have spent the last 6 hours trying to configure it and cannot get an external HTTPS going. I originally followed this fantastic tutorial on a Raspi with Hassio but have upgraded and now running into walls :( Thank you for all your work!
A very well explained and informative solution, but I feel it carries too high a risk, despite the convenience
This is because it involves exposing an internal server to the Internet
Should it get hacked, it's then likely to be used to try to access other computers and as most folks will likely have a flat home network that means the attacker will have direct access to try and exploit other IT devices in the home
There is the possible extra step of placing the device in a DMZ, like businesses do, but home users won't have the extra IT security that goes with that strategy
It's relatively cheap to build your own VPN device these days and place it behind your firewall. And you can use free DDNS to deal with the problem of having a dynamic Public IP
As you said, a VPN is the more secure strategy but it's the only I'd consider myself
After a while you get used to opening the app when you're away
But throw in some signed certificates with a passphrase and it's much harder to exploit this, as long as you keep everything regularly patched of course
Plus you get the added benefit of more secure browsing on a public WiFi because your phone builds a secure VPN tunnel back to your home
Legendary video! Thank you! I apreciate that you explained WHY we are doing every step. You've made a complicated topic look simple.
Genuinely one of the most helpful videos out there! No nonsense and lots of knowledge, thank you!
Thanks Tom!
hey not workin sadly, I see that its a TpLink router problem :( is there a way to go back to the local ip???
Really helped me out. Thanks for the tutorial, I just got HA last week, and it is slowly becoming my new hobby!
Just watched this again after moving houses, countries and hardware, great video!
Love you rvideos! you go beyond the basics, you explain every single step without assuming we should know some steps. Thanks!!
Thank you sir!
Hey man, thank you so much for the clear water explanation, i did a lot's of research on you were the only one who did a step by step including the why of doing things, thank for sharing your knowledge
Excellent explanation of all of this. No clue why anyone would give this a thumbs down. Great work, keep it up.
Thanks my friend, appreciate it!
Thank you for excellent and thorough step-by-step guide. Lost my https access earlier and by following your instructions I regained it and made it even better. Subscribed.
Hey that's awesome! Thanks!
This video was EXCELLENT. Very quick, step-by-step, and thorough.
Thanks Michael! Appreciate that!
Super helpful, I was struggling with some of the guides out there but this was perfect! Subscribed for sure.
Definitive video on the subject. Subscribed and liked, this video needs WAY more likes for how straight forward and clear it is. Thanks for all the hard work on this one.
You are far too kind! Thank you for the comment and support, very much appreciated! 🙏
This is such an amazing video. Thank you for taking the time to go through everything. Well thought out
finally someone with pfsense and home assistant.many things to learn before this video. i was wondering to go back to wall manual switches and take home assistant to trash. i reaaly appreciate your video. all solved!
I would not use Home Assistant if ESH would not exist, not sure how to explain how thankful I am, great job man !
Great job. I have been fighting this for over a week. It was your presentation that got me through it............
Thanks Rene! Hope it was useful!
Man, you have no idea how much you've helped! Thank you so much!!! Great work.
Awesome!
Exceptionally well put together video tutorial. That really was masterful. Thank you.
You have waaaay to few subscribers, have my upvote :) video is well explained and good tempo without too much fuzz. TNX!
Haha thanks, appreciate it!
Followed step by step, everything worked well. That was a great video. Thanks so much. You're the best!
Thanks Anil, appreciate your support!
Thank you for the detailed instructions and walk through. I got stuck with a Double NAT issue but other than that, it was smooth sailing.
Thanks! I just followed your steps and it worked flawlessly 🙂
The best guide on remote setup for Home Assistant! You are a star.
Thanks, appreciate it! 🙏
Thanks for a great video! I tried another tutorial and I managed to lock myself outside my HA. So I needed to follow another video so I would create backups and then I followed this tutorial. So easy, I am on to the next step now to intergrate smartthings. Thanks again!!!
This worked on the first try, canˇt believe it!!
Thank you so much. You really know your stuff.
Subscribed!
Thank you. As usual I followed you step by step and everything is working as it should!
Awesome, glad it worked!
I want to thank you for this vid i had been trying to get this set up for days with a custom domain fallowing allog gave me the info i needed to get it working
This is awesome information and well done. Thank you for keeping my security in mind! I look forward to other videos from you.
Thank you very much, appreciate your support 🙏
Awesome. Followed all your steps and it works like a charm. And I am by no means an expert. Some of the HA menus have changed in the meanwhile, but with some effort they can be found. Great stuff.
Thanks for the great video! I have been struggling with this for a while now. You made it very easy to follow.
Thanks Eric, glad it helped! Appreciate the feedback!
Thank you so much for your explanaition! Super clear, to the point, and everything worked like a charm!
Thanks for watching!
Thank you! Followed everything flawlessly, the information is very clear.
Thanks Martin, appreciate you! 🙌
Thank you! Your video was very helpful and very very well done. You and others like you make the internet a better place.
Thank you Mark, that means a lot!
Thank you. Another excellent video. Jam packed with useful info and no mucking about.
First time I have ever commented on a TH-cam video. Excellent tutorial. Thank you so much!
This video is gold! Thank you. I have installed Home Assistant Core but with our explanations and some internet it was possible too. I will now return to our Alea integration video ;)
Thumbs up for a very structured and clear guide to archieve a great idea! thanks!
Thanks buddy!
Thank you so much! The info is so up-to-date, older tutorials dont work as well. Hero!
Your welcome!
AMAZING!!! Thank you for telling me to antisipate error screens, how to double-check my work etc. GREAT JOB!
Glad you found it useful! 🙌
Fantastic walkthrough. First timer. Worked like a charm! Earned a sub and a like!!
Amazing, glad you got it working!
Tnx man, i love your video's. I just get started with home assistant, learning alot from your channel. Subscribed!
Thanks, appreciate the support! Good luck with your HA journey! 😅
Amazing video! Straight forward and great explanations, thank you so much!!!
Dude! Seriously... HA is such a PITA. And, you made this SOOOOO much simpler. Thanks a million! Great job!
Glad I could help!
Love the video! It helped me greatly! One thing to note though is that some ISP’s block port 443, so check with your ISP to see if they block it.
This is fantastic. I finally got it to work. Thank you!
This was amazing!!!! After this video I finally got it to work. And yes I'm one of those guys that got locked out of my home assistant!! :(
Thank you, appreciate it! Haha as long as you got it back working that's the main thing!
Great tutorial, easy to follow and got everything set up. Thanks!
Awesome!
Great video, finally got my instance sorted thanks to your video! subscribed.
Amazing! Thanks for the comment and support!
the "Requirement" section was really really helpful, thanks a lot
Thanks!
This was super helpful thank you. Look forward to working through your other videos.
Finally is working, thank you really💯
THANK YOU!!!!!!!!!!!!! I had to convert my AT&T UVerse Arris NGV210 to a passthrough and purchase Asus AX6600 XT8, but it natively supports NAT loopback so finally got this working. Thank you!!
I've tried doing this so many times! Yours is the first tutorial that's guided me perfectly to get it done. Brilliant, thank you.
Liked and subbed
Hey thanks Joe! Appreciate it!
I have no programing experience and I was able to follow this it took a bit but this is awesome.
Been putting this off for years as it sounded too complicated - video made it very easy :)
I really like youre videos, they are clear and understandible.
💥💥💥That is the best explaination to setup remote access I've ever seen! You even anticipate all the mistake I made. Thank you very much.
Very VERY good tutorial ! Really great ! Thank you ! Happy New Year and greetings from Portugal 🙂
Thanks! Happy New year my friend!
The best guide I've seen so far.
Glad it was useful!
Great video. Really clear explanation which helped me get this right (almost) first time.
Thanks Paul, glad it was useful!
Thank you for another great tutorial! Worked very well.
Absolutely Fantastic!!! Thanks for a great video, I finally have it working!
This was an awesome video. Super helpful and I only got stuck when I made a simple mistake in the config file
Great Job. Thanks. I ran into problems with my EdgeRouter EX until I changed my LAN interface to switch0 and then everything worked perfectly.
Thanks Adam, glad it worked!
Finally !!!! my Hero !!! Your video is by far the best. Thanks so much.
Thanks!
Great quality, extremely clear and thanks for the diagrams
Thanks my friend!
Amazing thank you for the effort, my rubbish router would not let me specify 8123 and 443 and I wasn't going to add the entire range... however your steps still got me there with :8123 on the end of both internal and external. Thank you very much taking a snapshot now!
Nice one!
Amazing tutorial! I just love you bro !!!!! wow - your networking skills - level MASTER! and I really like that you're speaking so fast :) I did it for a second time now, the first time with different videos and it was working - but not like it is now! Thank you so much. I'm gonna buy you a coffee ASAP ;)
Thank you friend, appreciate it very much!
Thanks for your help! Great video it helped me a lot setting this up in Home Assistant :)
Excellent glad you found it useful!
thanks for the detailed info. love that you explain some steps for pfsense!
Thanks for the support! Of course, big PFSense user myself 😁
Excellent tutorial - everythgin worked. Thanks you
Thanks, glad it helped!
Got yourself a new fellow scot subscriber - saved me a ton of time and hassle ...thank you
Always good to have more Scots around! Thanks!
GREAT tutorial. THANK YOU!
amazing video! fantastic job. It made my setup so easy