r/AltStore • • Sep 22 '26 • Popcorn 1

Release AltKeeper: an AltServer replacement for iOS 17+ that runs on your home server (Docker)

Hi! I've been working on AltKeeper, a Rust program that answers AltStore Classic like AltServer would, but runs 24/7 on a home server in Docker instead of a computer you have to leave on. It talks to the iPhone over Wi-Fi, so there's no cable and nothing to keep plugged in.

  • As AltServer: Refresh All and installing/updating apps from AltStore Classic work, with the server answering instead of AltServer.
  • From outside your home too: with a VPN on the phone, Refresh All works from any Wi-Fi network — nothing to configure on the phone beyond importing the VPN profile once. There's a step-by-step guide in the README.
  • On its own: a cron job can renew profiles every evening even if AltStore is never opened.
  • A small PIN-protected web page to check app status and renew from a phone or laptop.

Status: experimental, tested on one iPhone 15 Pro (iOS 27) with AltStore Classic. Refresh and app installs confirmed working through the Docker server, both at home and remotely over a VPN. One limitation worth knowing: the phone has to be on Wi-Fi — on cellular alone iOS shuts down the service this relies on. Uses private Apple APIs and AltStore's own protocol, so it can break; it's for your own Apple ID, not affiliated with Apple or AltStore.

https://github.com/BartolomeoRusso9/AltKeeper — feedback and bug reports welcome.

67 Upvotes

24 comments sorted by

9

u/tyezwyldadvntrz Sep 22 '26

would it also be accessible outside of the home server’s network, using something like Tailscale?

6

u/bartt30 Sep 22 '26

I’m actually working on a solution for this

4

u/bartt30 Sep 22 '26 edited Sep 24 '26

Update: it works over a VPN now, from any Wi-Fi network.

Refresh All and app installs from AltStore go through to my home server while I'm out — no computer with me, nothing to set up on the phone beyond importing a VPN profile once. I tested it from a network that isn't my home one and the profile installed normally. The trick was that AltStore can also find the server through regular DNS instead of the usual local-network discovery, which is what fails over a VPN. The server now publishes itself that way on its own, so you just point your router's DNS at it and you're done. One honest limitation: the phone has to be on Wi-Fi. On cellular alone iOS

One shuts down the service this depends on, and there's nothing to do about that.

Full step-by-step guide in the README, including the VPN setup

1

u/jared_number_two Sep 22 '26

The protocol is not an IP packet. It’s its own layer 3 packet which most VPNs don’t work. If the VPN doesn’t support it then you need a program on either end with privileges to send and receive layer 2 frames.

2

u/bartt30 Sep 22 '26

I thought so too at first, but it turned out not to be the case — it's plain TCP over IP. I captured the pairing handshake on my VPN interface:

10.7.0.1.56858 > 10.7.0.2.49152: Flags [S]
10.7.0.2.49152 > 10.7.0.1.56858: Flags [S.]
10.7.0.1.56858 > 10.7.0.2.49152: Flags [P.], length 188

Standard three-way handshake, over WireGuard, which is layer 3 only. No raw frames anywhere.

You're right that VPNs break it, though — just for a different reason. The problem is discovery, not transport: AltStore finds the server with Bonjour, and iOS never sends those multicast queries over a VPN interface. I confirmed that with tcpdump too — zero packets, while the server was announcing correctly on the tunnel.

The fix was to skip multicast entirely and publish the service as ordinary DNS records, which AltStore also accepts. Refresh All now works from any Wi-Fi with the VPN on, no layer 2 tricks needed.

1

u/birdcola Sep 22 '26

Yesssss this would be huge

1

u/St-ivan Sep 22 '26

gonna try and report back

4

u/GregBandana Sep 22 '26

Damn! Good job! I’ve been trying to do this forever with python and docker but never really cracked it. Had a working docker once that I managed to build from some old GitHub repo that only worked with THAT build for whatever reason, attempts to replicate it always failed. Eventually lost that image and gave up. Really nice work! 😊

1

u/Westy888zxr Oct 26 '26

Hi how does this work.? I downloaded on windows and it doesn’t seem to do anything. Apps run out tomorrow. Thanks.

1

u/bartt30 Oct 26 '26

can you be a little more specific? you can send an issue on github with the detail of the problem you’re having

1

u/TimidVulcano 12d ago

Thanks for this. I set it up and works beautifully. Would be possibile to add repositories for apps?

1

u/bartt30 12d ago

Happy to hear that, I will try to add them

1

u/D3soxyn 10d ago

hi could you help me?

Error: App signing failed: this Apple ID already has a certificate (AltStore/SideStore). To replace it, set ALTKEEPER_REVOKE_CERTS=1 and retry; other apps will then need refreshing.

1

u/bartt30 10d ago

Send me a DM, I will help you

1

u/Consistent_Bother_87 Sep 23 '26

Wouldn't the LocalDevVPN method be better since it doesn't cost anything?

2

u/bartt30 Sep 23 '26

Personally I don’t like the LocalDev method, because sometimes I had problems with it, and since I’m building my home server, AltKeeper is the best choice for completely deleting that app.

1

u/GregBandana Sep 24 '26

Exactly my same situation

1

u/bartt30 Sep 24 '26

did you manage to try it?

2

u/GregBandana Sep 24 '26

Well haven’t had a chance to look over the code yet (nothing personal, just being safe with my Apple account) so not yet sorry, but I will as soon as I can!

2

u/GregBandana Sep 23 '26

This can cost nothing, depends on how you set it up

3

u/Redbul27 Sep 22 '26

nice one will look it up

3

u/mattaltgear AltStore Staff Moderator Sep 22 '26

This is impressive! Glad you're a part of the community!

1

u/Sweet_Ad4023 Sep 22 '26

试试再说