bh4ehn / openwrt-cloudflared Goto Github PK
View Code? Open in Web Editor NEWOpenWRT port of Cloudflare Argo Tunnel client https://developers.cloudflare.com/argo-tunnel/
OpenWRT port of Cloudflare Argo Tunnel client https://developers.cloudflare.com/argo-tunnel/
Please update de release to the most recent version.
Hi,
Thanks for creating it!
I am a newbie on this topics but i would like to try.
I am trying to compile the cloudflare tunnel package in Ubuntu 20.04.4 LTS
my target: TP-Link TL-WR902AC v1 v21.02.1 (installed version)
I have download the Openwrt source follow the steps below:
git clone https://git.openwrt.org/openwrt/openwrt.git
cd openwrt
git pull
git branch -a
git tag
git checkout v21.02.1 # i am using this version
./scripts/feeds update -a
./scripts/feeds install -a
git clone https://github.com/BH4EHN/openwrt-cloudflared.git
make menuconfig
#choosing the target TP-Link TL-WR902AC v1
#saving the .config file
#editing the file by adding CONFIG_PACKAGE_cloudflared=y
make ./package/bh4ehn/cloudflared/compile
make[1] package/bh4ehn/cloudflared/compile
make -r package/bh4ehn/cloudflared/compile: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
make: *** [/home/serveradmin/openwrt/include/toplevel.mk:230: package/bh4ehn/cloudflared/compile] Error 1
or
make -j1 V=sc ./package/bh4ehn/cloudflared/compile
make[1]: Entering directory '/home/serveradmin/openwrt'
make[1]: *** No rule to make target 'package/bh4ehn/cloudflared/compile'. Stop.
make[1]: Leaving directory '/home/serveradmin/openwrt'
Could you guide me how to continue ?
Br,
keecy
With the help from README.md and #1 I'm trying to compile openwrt-cloudflared, my first binary ever, but I'm stuck with the following error. Despite using -j1 V=sc
it doesn't give me a clue how to fix this (as I was able to with several other errors).
So, executing make -j1 V=sc ./package/openwrt-cloudflared/compile
ends with:
go: finding github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0
go: finding github.com/francoispqt/gojay v1.2.13
go: finding github.com/cloudflare/golibs v0.0.0-20170913112048-333127dbecfc
Building targets
golang.org/x/net/http2
github.com/coredns/coredns/plugin/pkg/log
# github.com/coredns/coredns/plugin/pkg/log
pkg/mod/github.com/coredns/[email protected]/plugin/pkg/log/log.go:105:34: undefined: io.Discard
note: module requires Go 1.16
# golang.org/x/net/http2
pkg/mod/golang.org/x/[email protected]/http2/transport.go:417:45: undefined: os.ErrDeadlineExceeded
note: module requires Go 1.17
github.com/coredns/coredns/plugin/pkg/doh
# github.com/coredns/coredns/plugin/pkg/doh
pkg/mod/github.com/coredns/[email protected]/plugin/pkg/doh/doh.go:95:14: undefined: io.ReadAll
note: module requires Go 1.16
github.com/lucas-clemente/quic-go/internal/qtls
go build github.com/lucas-clemente/quic-go/internal/qtls: build constraints exclude all Go files in /home/debian/openwrt-sdk/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/cloudflared-2022.5.1/.go_work/build/pkg/mod/github.com/chungthuang/[email protected]/internal/qtls
github.com/go-logr/logr/funcr
# github.com/go-logr/logr/funcr
pkg/mod/github.com/go-logr/[email protected]/funcr/funcr.go:398:16: undefined: strconv.FormatComplex
pkg/mod/github.com/go-logr/[email protected]/funcr/funcr.go:400:16: undefined: strconv.FormatComplex
pkg/mod/github.com/go-logr/[email protected]/funcr/funcr.go:443:16: undefined: strconv.FormatComplex
pkg/mod/github.com/go-logr/[email protected]/funcr/funcr.go:445:16: undefined: strconv.FormatComplex
note: module requires Go 1.16
Cleaning module download cache (golang/go#27455)
make[2]: *** [Makefile:59: /home/debian/openwrt-sdk/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/cloudflared-2022.5.1/.built] Error 2
make[2]: Leaving directory '/home/debian/openwrt-sdk/package/openwrt-cloudflared'
time: package/openwrt-cloudflared/compile#26.56#7.46#30.60
make[1]: *** [package/Makefile:113: package/openwrt-cloudflared/compile] Error 2
make[1]: Leaving directory '/home/debian/openwrt-sdk'
make: *** [/home/debian/openwrt-sdk/include/toplevel.mk:220: package/openwrt-cloudflared/compile] Error 2
I'm trying to build on Debian 11 (x86_64), using openwrt-sdk-19.07.10-mvebu-cortexa9_gcc-7.5.0_musl_eabi.Linux-x86_64
(for Turris Omnia, current TurrisOS 5.3.9, which is based on OpenWrt 19.07.10) with these commands:
wget https://downloads.openwrt.org/releases/19.07.10/targets/mvebu/cortexa9/openwrt-sdk-19.07.10-mvebu-cortexa9_gcc-7.5.0_musl_eabi.Linux-x86_64.tar.xz
git clone https://github.com/BH4EHN/openwrt-cloudflared.git package/openwrt-cloudflared/
./scripts/feeds update -a
./scripts/feeds install golang
make menuconfig
make -j1 V=sc ./package/openwrt-cloudflared/compile
Any help would be really appreciated, thanks in advance.
Hi,
I'm not sure on the process to get this across into the package manager for OpenWrt 23.05.0 but it appears to be missing, can you push to the package manager?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.