Viewing Webcam through a Cloudflare Argo Tunnel?

I can't quite figure this out. I have a tunnel working properly on a Pi4 4GB, with the OctoPI OS. The webcam stream inside the settings is: /webcam/?action=stream.

Using Octoremote I can access the system with my Cloudflare tunnel http://host.example.tk, since it points internally to http://localhost.

I can't view the webcam that way with Octoremote settings as http://host.example.tk/webcam/?action=stream. I just says no data to stream.

If I try making http://localhost/webcam/?action=stream internally for a second tunnel, Cloudflare tells me it's not a valid URL. Seems they are a bit strict on creation.

Honestly, I don't think this will work, but would love to hear if someone has figured this out. Would be nice to not have to turn on my home VPN first before accessing the system. Thanks!

EDIT: No, I am not willing to open ports for dynamic dns. VPN or some sort of proxy. Chose Cloudflare for the ease of setup.

How did you set up cloudflared on octopi OS? I have several other RPis running cloudflared Wirth different OS and services, and would like to give it a shot and try to make it work :slight_smile:

Any update on how to install Cloudflared on OctoPI OS?

Hey bud, I'm sorry I haven't responded. I never continued that route but I remember it was just the command line Raspbian method; or maybe Debian/Ubuntu. Just SSH into the box. If you already have it on others, then there is no reason it wouldn't work. You just won't have a desktop interface to work with.

1 Like

thanx - will try that :slight_smile:

worked like a charm - fantastic :slight_smile: