Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
cloudflare tunnel over GRE
« previous
next »
Print
Pages: [
1
]
Author
Topic: cloudflare tunnel over GRE (Read 505 times)
simoneweb
Newbie
Posts: 8
Karma: 0
cloudflare tunnel over GRE
«
on:
August 13, 2024, 05:27:21 am »
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
Logged
9axqe
Full Member
Posts: 198
Karma: 4
Re: cloudflare tunnel over GRE
«
Reply #1 on:
October 07, 2024, 12:44:48 pm »
The correct path is /usr/ports/net/cloudflared
Logged
AfroBro87
Newbie
Posts: 1
Karma: 0
Re: cloudflare tunnel over GRE
«
Reply #2 on:
October 25, 2024, 10:19:40 pm »
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
Logged
9axqe
Full Member
Posts: 198
Karma: 4
Re: cloudflare tunnel over GRE
«
Reply #3 on:
October 26, 2024, 09:53:47 am »
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
Code:
[Select]
: ${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.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
cloudflare tunnel over GRE