cloudflared:https://github.com/cloudflare/cloudflared/releases

cloudflared(freebsd):https://cloudflared.bowring.uk/

1.使用方法

  1. 在cloudflare tunel后台创建隧道,添加url和本地端口指向

    chmod +x /home/xxx/cloudflared/cloudflared
    nohup /home/xxx/cloudflared/cloudflared tunnel --edge-ip-version auto --no-autoupdate --protocol http2 run --token ${ARGO_AUTH} >/dev/null 2>&1 &
    
  2. 使用本地命令创建:

<aside> 💡

https://bra.live/setup-home-server-with-cloudflare-tunnel/

</aside>

2.创建rdp(需要在本地也启动cloudflared,但不需要创建隧道,直接启动)

https://blog.dollcode.cn/cloudflared-tunnel-rdp