Cloudflare Tunnels for Self-hosted Nextcloud

Posted on Aug 28, 2024

Cloudflare tunnels for self-hosted Nextcloud

As part of my self-hosted Nextcloud, I wanted to be able to access my Nextcloud from anywhere, but didn’t want to open my firewall to do it. Fortunately, Cloudflare has a terrific solution for this. They call it Zero Trust and best of all, it’s FREE.

I found a very helpful youtube video on how to set it up.

https://youtu.be/ey4u7OUAF3c?si=Ec1fgp4rPR_vZV6V

I followed the steps pretty much verbatim and it works great. Now I can access my Nextcloud from anywhere, but also control who can even see the server by using the Cloudflare Zerto Trust access control feature. If you’re not on the list, you’re not even going to have a chance to connect to my server.