Use Cloudflare Tunnel for NAS

date
Mar 20, 2022
slug
cloudflare-tunnel
status
Published
tags
Others
summary
A free alternative for frp
type
Post
 

Download Cloudflared

Download the binary for your NAS regarding your arch
mov it to an executable path like /usr/local/bin/cloudflare (bin)
 

Login

open browser to login
 

Create a Tunnel

 

Add DNS Record

go to your DNS dashboard, add a CNAME record, name your app, for example, app0. content is <tunnel_uuid>.cfargotunnel.com

Create a Config File

create a config file in ~/.cloudflared/config.yaml
 

Run Your Tunnel

 

Enjoy the Traveling

now open your browser and type “app0.<domain>”

© Ric Li 2021 - 2024