how do I install the cloudflared service on opensense and be able to establish a tunnel with cloudflare?
I did found this guide: https://www.jackpearce.co.uk/cloudflared-opnsense/
after the installation I coudn't find this folder: cd /usr/ports/security/cloudflared
The correct path is /usr/ports/net/cloudflared
Just to follow-up with this:
I followed the same aforementioned guide, https://www.jackpearce.co.uk/cloudflared-opnsense/
However, I am getting stuck on the portion:
"nano /usr/local/etc/rc.d/cloudflared modify so that it matches below. We're just removing ${cloudflared_conf} from the command arguments as we're supplying a token instead of using a config.yaml"
I can't seem to get to the config.yaml portion. I followed the steps and was able to do everything prior to without issue. But I guess I'm stuck at step 5
Seems to me there's (now) a typo on the page.
The page used to look like this a couple of months back:
https://web.archive.org/web/20240202030437/https://www.jackpearce.co.uk/cloudflared-opnsense/
You can clearly see that the line
: ${cloudflared_conf:="/usr/local/etc/cloudflared/config.yml"}
is removed in the "/usr/local/etc/rc.d/cloudflared" file.
On the current version though, the line is not removed any more, which contradicts the accompanying text which states "We're just removing ${cloudflared_conf} from the command arguments".
I just added # at the beginning of this line to comment it out – I prefer it to deleting the line.
I'm not sure what you meant by "I can't seem to get to the config.yaml portion" though, so I'm not sure my comment helps.