[ CloudFlared ] [ 2023.02.1] Argo Tunnel client

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

[ CloudFlared ] [ 2023.02.1] Argo Tunnel client

Post by QNAP_Stephane »

Image

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

Download

https://www.myqnap.org/product/cloudflare-argo-tunnel/

Contains the command-line client for Argo Tunnel, a tunneling daemon that proxies any local webserver through the Cloudflare network. Extensive documentation can be found in the Argo Tunnel section of the Cloudflare Docs.
Last edited by QNAP_Stephane on Sat Feb 04, 2023 3:44 pm, edited 5 times in total.
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ CloudFlared ] [ 2021.6.0] Argo Tunnel client

Post by QNAP_Stephane »

bump to 2021.6.0
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
hetzbh
New here
Posts: 4
Joined: Thu Sep 16, 2021 7:49 pm

Re: [ CloudFlared ] [ 2021.6.0] Argo Tunnel client

Post by hetzbh »

Nice, but small question: any QNAP specific doc about how do you stop/start the service?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ CloudFlared ] [ 2021.6.0] Argo Tunnel client

Post by QNAP_Stephane »

you can set your start /stop script within

/opt/CloudFlared/CloudFlared.sh

in start {
and
stop {

sections
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
sszben
New here
Posts: 4
Joined: Mon Jan 11, 2016 4:48 am

Re: [ CloudFlared ] [ 2021.9.0] Argo Tunnel client

Post by sszben »

Hi,
Do you know which version I need to install for this NAS model: TVS-871-i7-16G (EOL), CPU Intel® Core™ i7-4790S 4-core 3.2 GHz processor, CPU Architecture 64-bit x86

These versions are available in the QnapClub repo:
TS-NASX86
TS-X41
TS-NASARM_64
TS-X28A
TS-X30
TS-X32
TS-X32U
TS-XA28A
TS-ARM-X19
TS-NASX86_64
TS-X31
User avatar
dolbyman
Guru
Posts: 35252
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: [ CloudFlared ] [ 2021.9.0] Argo Tunnel client

Post by dolbyman »

NASX86_64

as you already discovered that you have a x86/x64 NAS
sszben
New here
Posts: 4
Joined: Mon Jan 11, 2016 4:48 am

Re: [ CloudFlared ] [ 2021.9.0] Argo Tunnel client

Post by sszben »

Yeah, that's what I tried, but it doesn't seem to work...
User avatar
dolbyman
Guru
Posts: 35252
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: [ CloudFlared ] [ 2021.11.0] Argo Tunnel client

Post by dolbyman »

and that means ?..error message of any sort?
sszben
New here
Posts: 4
Joined: Mon Jan 11, 2016 4:48 am

Re: [ CloudFlared ] [ 2021.11.0] Argo Tunnel client

Post by sszben »

After authenticating with cloudflare, I try to create tunnel like:

cloudflared tunnel create anything
2021-11-24T15:48:32Z INF Cannot determine default origin certificate path. No file cert.pem in [~/.cloudflared ~/.cloudflare-warp ~/cloudflare-warp /etc/cloudflared /usr/local/etc/cloudflared] originCertPath=
2021-11-24T15:48:32Z ERR You need to specify the origin certificate path with --origincert option, or set TUNNEL_ORIGIN_CERT environment variable. See https://developers.cloudflare.com/argo- ... arguments/ for more information. originCertPath=
failed to create tunnel: couldn't create client to talk to Cloudflare Tunnel backend: Error locating origin cert: client didn't specify origincert path when running from terminal

This error message comes.
I cannot locate the cert.pem file although Cloudflare says authentication is OK:

Success
Cloudflared has installed a certificate allowing your origin to create an Argo Tunnel on this zone.

You may now close this window and start your Argo Tunnel!
User avatar
dolbyman
Guru
Posts: 35252
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: [ CloudFlared ] [ 2021.11.0] Argo Tunnel client

Post by dolbyman »

k,so it has nothing to do with the wrong installation package then, so you would have to wait for QNAP_Stephane to check and/or compile a new version (if that is the issue)
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ CloudFlared ] [ 2022.12.0] Argo Tunnel client

Post by QNAP_Stephane »

updated to 2022.12.0
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Stackoverflow
Starting out
Posts: 12
Joined: Sat Mar 04, 2017 8:40 pm

Re: [ CloudFlared ] [ 2022.12.0] Argo Tunnel client

Post by Stackoverflow »

Can anyone help a linux noob plz. I can't migrate from argo tunnel to cloudflare zero trust
tunnel migration.png
could anyone advise as to what I need to do
TIA
You do not have the required permissions to view the files attached to this post.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ CloudFlared ] [ 2023.1.0] Argo Tunnel client

Post by QNAP_Stephane »

updated to 2023.1.0
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Stackoverflow
Starting out
Posts: 12
Joined: Sat Mar 04, 2017 8:40 pm

Re: [ CloudFlared ] [ 2023.1.0] Argo Tunnel client

Post by Stackoverflow »

QNAP_Stephane wrote: Wed Jan 25, 2023 6:29 pm updated to 2023.1.0
. when I type
Thanks v much for that. As mentioned previosly very new to qnap cli when I type CloudFlared.sh {start} i get command not found. if you or someone else could guide me I's be immensly grateful. TIA to any & all who can assist
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ CloudFlared ] [ 2023.1.0] Argo Tunnel client

Post by QNAP_Stephane »

Stackoverflow wrote: Wed Jan 25, 2023 6:54 pm
QNAP_Stephane wrote: Wed Jan 25, 2023 6:29 pm updated to 2023.1.0
. when I type
Thanks v much for that. As mentioned previosly very new to qnap cli when I type CloudFlared.sh {start} i get command not found. if you or someone else could guide me I's be immensly grateful. TIA to any & all who can assist
it is not in startup script

use :

$QPKG_ROOT/cloudflared or /usr/bin/cloudflared (symlink)
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Post Reply

Return to “Community Apps”