Hello!
I’m working on a project based around a Raspberry Pi, which is running a prebuilt image from Openwebrx.
I want to set up a tunnel to allow access to a server on the Pi even though the internet connection for the Pi is a 4G service, i.e. issues with IP addresses and so on.
It’s been ok so far, but I’ve run into a wall with this:
vk2stg@openwebrx:~ $ sudo cloudflared tunnel login
Please open the following URL and log in with your Cloudflare account:
https://dash.cloudflare.com/argotunnel?aud=&callback=https%3A%2F%2Flogin.cloudflareaccess.org%2FgrTZJBWZiR3u4EoKbnFcY8_NMZeSUz4ZFuikElUTYB0%3D
Leave cloudflared running to download the cert automatically.
Failed to write the certificate due to the following error:
Get "https://login.cloudflareaccess.org/grTZJBWZiR3u4EoKbnFcY8_NMZeSUz4ZFuikElUTYB0=": dial tcp: lookup login.cloudflareaccess.org on 192.168.20.1:53: read udp 192.168.20.100:36933->192.168.20.1:53: i/o timeout
Your browser will download the certificate instead. You will have to manually
copy it to the following path:
/root/.cloudflared/cert.pem
Get "https://login.cloudflareaccess.org/grTZJBWZiR3u4EoKbnFcY8_NMZeSUz4ZFuikElUTYB0=": dial tcp: lookup login.cloudflareaccess.org on 192.168.20.1:53: read udp 192.168.20.100:36933->192.168.20.1:53: i/o timeout
And I can’t get it to work! The Pi has no browser, and is accessed via SSH so I copied and pasted the link to my PC’s browser, logged in, and it tells me a certificate has been downloaded. But it’s not on the Pi, nor on my PC.
Any pointers would be much appreciated.
The Pi is currently on my home network, which is also ‘powered’ by 4G… just in case that is relevant.