fips2go 0.11.0 brings exit nodes, and almost all of it is the work of one contributor: @victor
Until now fips2go gave your selected apps the mesh, while their ordinary internet traffic left through the phone's own connection. victor built the other half: that traffic can now leave through a fips node you choose, carried over the mesh, the way a VPN would carry it. No account, no server address to configure, just an npub.
What he built, in three parts:
1. In the app's core. A new packet path that wraps each IPv4 packet in IPv6 and sends it to the exit over fips, with no tunnel protocol on top. The phone's address inside the tunnel is derived from its npub, so nothing is negotiated. DNS goes to the exit's own resolver and nowhere else. If the exit cannot be reached, traffic is blocked; it never quietly falls back to your own connection. And the exit can only answer connections your apps opened: the phone keeps its own table of them, so even a hostile exit cannot open a connection to your phone.
2. In the app. An Internet route card on the Overview and a screen to add, name and select exit nodes. Switching takes effect without restarting the node, so mesh sessions survive it. The card shows what the node is actually doing, not just what you picked.
3. The exit itself. A Docker container anyone can run on a home server. It serves only the npubs on its allow-list, and it is locked down in layers: one tunnel per allowed phone, a default-deny firewall, no access to private ranges or to its own network's public address (which it looks up and keeps blocked as it changes), every capability dropped except the five it needs. It can also publish chosen services on your LAN, a NAS for example, to those phones over the mesh without opening a port on your router. It comes with unit tests and an end-to-end test that runs an allowed client and an intruder against it.
That is about 4,000 lines across 30 files, with tests, documentation and a CI check, in eight clean commits.
It also shows that Nostr works for this. The pull request was submitted on Nostr with ngit, reviewed there in two rounds, revised, tested on a real phone and merged with his authorship kept. No GitHub account was needed to contribute.
Thank you, victor.
One caution: an exit's operator sees your traffic like any VPN server does. Only use one you trust, or run your own.
APKs:
Also on Zapstore.
Run an exit:
Code on Nostr: nostr://npub1yptpz34agws3z95dqxgvyhwnhkulav5vueryjpzrl32p57euwteqwha52w/relay.ngit.dev/fips2go
GitHub
Release v0.11.0 · fr34aky/fips2go
Exit nodes: your mesh apps' internet traffic can now leave through a fips node you choose, carried over the mesh, instead of through the phone's ow...
GitHub
fips2go/exit-node at main · fr34aky/fips2go
Android VpnService app embedding the FIPS mesh daemon (per-app split tunnel, .fips DNS) - fr34aky/fips2go