# Remote (free and secure) access to your node-red instance at home

**URL:** <https://discourse.nodered.org/t/remote-free-and-secure-access-to-your-node-red-instance-at-home/60353>\
**Category:** General\
**Tags:** security\
**Created:** [25 March 2022 18:22 UTC](https://discourse.nodered.org/t/remote-free-and-secure-access-to-your-node-red-instance-at-home/60353 "2022-03-25T18:22:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lu4t](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lu4t/32/32276_2.png) [@lu4t](https://discourse.nodered.org/u/lu4t)\
**Post date:** [25 March 2022 18:22 UTC](https://discourse.nodered.org/t/remote-free-and-secure-access-to-your-node-red-instance-at-home/60353/1 "2022-03-25T18:22:45Z")

</div>

Hi all...

last week we created this video playlist to show how to set up remote access to stuff on your home-Labs, for free, using cloudflare tunnels. The examples include node-red and HA, but would work with anything else.

I hope you enjoy 🙂

https://www.youtube.com/embed/videoseries?list=PLY4sFY6dmLqwQrcEHPnqVi8EayhdP7yLK&wmode=transparent&rel=0&autohide=1&showinfo=1&enablejsapi=1

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [25 March 2022 21:54 UTC](https://discourse.nodered.org/t/remote-free-and-secure-access-to-your-node-red-instance-at-home/60353/2 "2022-03-25T21:54:01Z")

</div>

Thanks for sharing, that's great.

Cloudflare's free tier is amazing. I use them for all my DNS needs now as well. Then there is their web protection which catches a load of attacks before they hit your services, their caching and even user authentication and web monitoring.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [26 March 2022 08:17 UTC](https://discourse.nodered.org/t/remote-free-and-secure-access-to-your-node-red-instance-at-home/60353/3 "2022-03-26T08:17:38Z")

</div>

I started on this and soon found that I needed to install docker on my Pi (which is a non-trivial process)  
After googling - this is the sequence of commands I used but it failed on the actual install of the cloudflare container

I don't know anything about docker but I'm assuming this is because the container isn't meant for a Pi?

```auto
mkdir demo
sudo chown -R 65532:65532 ~/demo

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker pi

NOW NEED TO REBOOT TO UPDATE PI USER PERMISSIONS

docker run -v ~/demo:/home/nonroot/.cloudflare cloudflare/cloudflared:2022.3.4 tunnel login

```

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/7/c729ad30b2f6833b9fae0fb37949098ecb44fb55.png)

---

<div class="post-metadata">

**Author:** ![lu4t](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lu4t/32/32276_2.png) [@lu4t](https://discourse.nodered.org/u/lu4t)\
**Post date:** [26 March 2022 14:02 UTC](https://discourse.nodered.org/t/remote-free-and-secure-access-to-your-node-red-instance-at-home/60353/4 "2022-03-26T14:02:50Z")

</div>

Mmmmm... it looks like there's no arm image of cloudflared on dockerhub.

I will look for my old RPi and try to create a guide for it...

In the meantime, your best choice then is downloading the binary for arm from here: [https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/installation/](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/installation/)

The whole install process is the same, just avoid using the "docker run..." and just use the binary commands: "tunnel login" then "tunnel create"...

just bear in mind: the certificate will be created (by default) on `/.cloudflared` (there's no need to assign permissions, as long you execute the command with root privileges).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [25 May 2022 14:03 UTC](https://discourse.nodered.org/t/remote-free-and-secure-access-to-your-node-red-instance-at-home/60353/5 "2022-05-25T14:03:10Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
