cloudflared for powerpc64 (ps3 linux (red ribbon))
so since you can jailbreak an iphone and add repos could it theoretically be possible to add support for iphoneos-arm
use case: localhosting a website with cloudflared tunneling as an iphone as the host machine
18 Replies
i tried building it myself once but turns out building Go programs for ios is nowhere near as simple as it is for other platforms so i doubt cloudflare will put in the work
it is open source though so if you want to put in the large amount of required time and effort yourself its possible
your usecase is significantly easier on android btw, because you can install termux and run everything in there without needing root
i've decided to take my time and effort to build from source, and since ios doesn't use systemd or anything like that, it makes this twice as hard
and not having a mac also makes it difficult
significantly, yes
compiling for ios without a mac is a nightmare
i do have a mac and still found building cloudflared for ios to be way too much effort than i was willing to spend
well i mean, i got it to build and compile for iphoneos-arm (rootful jailbreak) i just don't know if it works
nope, i clearly didn't do something right since its still looking for macos binarys
yeah, exactly
is that all you got to then realized its not worth the effort?
i did play around with it a bit and tried some tools online but it was always that or other unhelpful errors
might just try to get macos running in a vm (try not to get mad at virtualbox challenge: impossible)

@alriceee you might want to try docker-osx. Dont know if it fits your usecase but for me it always was easier to setup than VirtualBox
docker osx?
seems like a mac thing just from the name
Nah you can use docker to run mac os on linux and windows 😄
https://github.com/sickcodes/Docker-OSX
GitHub
GitHub - sickcodes/Docker-OSX: Run macOS VM in a Docker! Run near n...
Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers. - sickcodes/Docker-OSX
well im going with an even stupider route: ps3linux :D
pros:
linux
cons:
stuck on debian 8.11 (jessie)
have to build a bunch of stuff for powerpc arch/debian 8
Progress
- Python 3.6: built and compiled
- Cloudflared: still needing to do so
seems weird to reuse the thread for a completely different approach
you dont need a ppc machine to build cloudflared for ppc though, its supported by Go and so can be cross-compiled
from any machine
oh good, so no issues with debain 8.11?
add
GO111MODULE=on CGO_ENABLED=0
as well
you'll get a static binary that will work anywhere
adapting these from https://github.com/Erisa/cloudflared-docker/blob/main/Dockerfile:thumbsupemoji:
so that funny "thing"
i changed the args since the other person got it wrong
so no. i compiled for ppc7
ps3 is ppc64 ^^
1, im using a ps3 for the funny
2, i would rather uh...yeah.. then use qemu-user
ill just..use qemu later....
well nvm..got it working, but cloudflared dashboard says its still not connected
i found a easier way without cloudflared running on the other machine and i honestly feel stupid for not trying it before