EVEN EASIER way to use Cloudflare Tunnels to access Home Assistant and remote network access.

preview_player
Показать описание
This is a follow-up video to my Cloudflare Tunnels video. This time I'm using the Cloudflared Home Assistant Add-on to create and manage the tunnels. It makes it MUCH easier!

LINKS:

Support this channel by becoming a member:

If you would like to support me:

Products I reference in my videos (contains affiliate links)

DISCLAIMER: Some of the links above take you to affiliate sites that may or may not pay a small commission to me. It doesn't increase the cost to you, but it does help support me in making these videos.

Want to send me something? Send it here!
Mostlychris
24165 IH-10 West
STE 217 Box 164
San Antonio, TX 78257

#HomeAssistant
#HomeAutomation
#SmartHome
#cloudflare

00:00 Intro
00:43 Cloudflared Overview
02:32 Prerequisites
03:42 Add Cloudflared Repository
04:40 Install Cloudflared Add-On
07:14 Verify Tunnel
08:16 Add Additional Hosts
10:11 Verify Additional Host
11:18 Securing Applications Overview
12:40 Set Trusted Proxy!!
15:25 Locally Managed Tunnel
16:13 Final Thoughts and Wrap
Рекомендации по теме
Комментарии
Автор

Awesome Chris, was using Nginx Proxy Manager but that was just an extra step that wasn't needed for my setup. This cloudflared setup seems so easy and no open ports on router. Thanks

rteune
Автор

I'll stay with Nabu Casa for my primary access. If I have any issues, I'll set this up as an alternative. Thanks for the easy to follow instructions.

fixitman
Автор

Thank you for this great tutorial.
I was struggling with remote access to HA for a long time because it is hard to get my ISP to open port's.

giannism
Автор

Thanks Chris. Was looking at Cloudflare tunnels as a separate server when stumbled on this video. I'm running in docker so had to add the IP address of the gateway of the docker to the config under the http section. Also I'm still running the default port 8123 so had to also add the host as an additional host adding this port. But yep it is all working fine now after doing those few things.

davidsomething
Автор

Thanks Chris!! you are the man!!! great Job!!! I was looking the way to make it easy and FREE, I support nabucasa too, but in some regions, pay 6 or 7 USD montly, that really is cheap service, is Hard for many people!! then this is a great alternative!

rpolverini
Автор

Clearly explained, good work. I was looking into Cloudflare, but your video made clear to me that for simplicity and security, I better stay with my Zerotier solution. That is free as well, doesn't need a domain, and will only work with pre-authenticated devices. What I like about Cloudflare is the ability to expand easily to other servers.

LarsvanZon
Автор

secure the HA endpoint with cloudflare access, something like 2FA, rather than only allow US origin, incase you are accessing it oversea when u are traveling

jeffer
Автор

just bricked my HA after adding the trusted proxy and rebooting. no idea what went wrong but restoring a 2 month old backup now so i'll have a bit of work now haha. always backup your stuff before doing any tinkering my dudes

MichaelVanBladel
Автор

any idea why id get a 400:bad request when i use my domain after following your steps?

oriongamingtv
Автор

What about putting up an application authentication rule with login required through cloudflare? How do we get the mobile app, on the public internet, to authenticate and communicate?

icemank
Автор

I don't believe it could be easier than Tailscale. I am strugling to understand why is this better.

fibranijevidra
Автор

Thank you, super helpful! Video was really detailed and clear which I greatly appreciate.

TiaLikely
Автор

Nice one Chris.... I migrated to the Cloudflare GUI and find it super easy to add any of my Unraid and no need for NPM

BerkeleyTowers
Автор

Thing to keep in mind: if you will just spin up docker container with cloudflare on home assistant yellow (HA OS), it will start complaining about unsupported software :(

antonnemtsev
Автор

i dont understand how you have HTTPS working at 7:38.
mine is insecured when i acess my domain name

dablet
Автор

Can this method be used with google assistant integration? It all worked fine and I can access my HA it remotely. Google console is also set up, and google home app recognizes it. But when I try to add my HA, google home gives an error that the website and the connection are not secure and doesnt let me proceed. Any suggestions to make this "secure" for google to identify? Thanks

Craigslistmist
Автор

great video. have had this working for a couple months then just recently the cloudflare tunnel as visible from the cloudflare tunnels status dashboard shows that the tunnel bounces down then up on a regular basis.

MikeBettilyon
Автор

Great video, thanks! Wondering why you changed the tunnel name though. Does it make any difference?

orbit
Автор

On the verge of quitting this if anyone can help. Ive mixed and matched this video with the original i.e. creating account with clouldflare, doing the domain stuff etc. Not touched my router in any way, which I understand is right/not needed. Im getting this error in the zero trust logs which I can't work out. I disabled the ssl thing. Do I need to be routing any traffic manually or has Cloudflare done everything automatically? "error": "Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp EXTERNALIP:8123: connect: connection refused"

adamjjay
Автор

Great video as always Chris. With regards to the Cloudflare's WAF rule it's incomplete. As is, you allow US origin traffic, and that's all. If you want to allow ONLY US origin traffic, you need to create a second rule which blocks traffic in counties which "does not equal" to US (and place this rule fist in list order ).

kdelios