kodachi://architecture / the-rack

INSIDE KODACHI

Kodachi is an infrastructure.

Your ISO is the client layer. Behind it, Kodachi coordinates authentication, signed card assignment, DNS protection, protocol routing, worker fleets, external-provider configs, and on-device emergency defenses. Two racks power on below: the on-device rack you boot, and the kodachi.cloud master rack it talks to over a WAN uplink. Watch the flows move: auth handshakes travel up, signed cards ship down, traffic leaves through the exits.

[ POWER boot ]
[ 0 SIGNED ]
[ 0 PROTOCOLS ]
[ MASTER … ]
[ -- ACTIVE SESSIONS ]
[ -- CARDS ]
[ -- VPS NODES ]
[ -- CHALLENGES SOLVED ]
Loading live platform data from /apps/stats_api.php…
KODACHI // ON-DEVICEPOWERING ON
U1CLIENT / ISOboot layer
integrity-checksigned Rust verifiedXorg · XFCE
U2KODACHI DASHBOARDnative desktop app
Circle · Lite · Vitals · SOC · ColonyOpsshared top bar and railcommand paletteAutoShield-- workflows
U3KODACHI OS COREfoundation service
health-controlwatchdogsecurity scoresupervises all services
U4RUST SERVICES18 signed blades
U5KODACHI AI8 AI binaries · offline-first
U6AUTH + SESSIONWAN uplink to master
CHALLENGE 64chHW-BOUND IDHEARTBEAT 15msession tokensigned card in
U7NATIVE PROTOCOLS14 internal · in every signed card
WireGuardAmneziaWGOpenVPNOpenVPN over CloakShadowsocksV2Ray VMessXray VMessXray VLESSXray VLESS + RealityXray TrojanHysteria2Mieru (mita)Dante SOCKS5Multi-Tor
U8ROUTING + DNSswitch · resolvers · leak guard
routing-switchtor-switchdns-switchdns-leakDNSCryptDoH / DoTDNS over TorPi-hole700+ resolvers
U9EMERGENCYpanic S/M/H · 3 nuke paths
Kill SwitchPanic SoftPanic MediumPanic HardLUKS Nuke PasswordDestroy Kodachi (full nuke)RAM WipeFile ShredMBR / EFI DestroyFake Update ScreenGlobal HotkeysThreat Watchdog
KODACHI.CLOUD // MASTER RACKSTANDBY
C1MASTER VPSkodachi.cloud gateway
CHALLENGE 64chPKI RSA-4096HW-BOUND IDcard generationportal + paymentsAPT repo · 3 channelsHEARTBEAT 15m
C2CARD VAULT3 pools · -- cards live
FREE --PREMIUM --CUSTOM ---- totalsigned JSONinventory-aware refill
C3WORKER NODES-- workers · full stack · live health
C4EXTERNAL VPN12 providers + custom · patch panel
VPN GateRiseupNordVPNIVPNPIASurfsharkMullvadAirVPNWindscribeProtonVPNExpressVPNTorGuardcustom
C5NETWORK EXITS6 ports · DMCA-resistant
VPN Tunnel→
Tor Circuit→
VPS Exit→
Tor Exit→
Tor-over-VPN→
Per-app Tor (oniux)→
Boot-to-exit flow

Five steps from power-on to a guarded tunnel

Every booted Kodachi device walks the same path. The rack above is this flow, stacked.

01

Boot

The ISO comes up. integrity-check verifies the signed Rust components before anything else runs.

02

Authenticate

The client requests a 64-char challenge from the master node, solves it locally, returns the solution, gets a hardware-bound session token.

03

Card assigned

Master matches your tier to a fresh card from the matching pool. The card contains every protocol config you need.

04

Tunnel up

routing-switch brings the selected protocol online. dns-leak verifies the resolver is inside the tunnel.

05

Guarded

Heartbeat every 15 minutes, security score recomputed live, health-control watchdog ready to fire panic at any tier.

Tunnels + resolvers

Protocol routing and DNS protection

Each card carries every daemon. The client drives which one goes live.

Tunnels

WireGuard tunnel client-a (Free) to its current NORMAL worker, kernel-level, mint-cyan.

V2Ray tunnel client-b (Premium) to its current low-density worker, VMess obfuscated.

Shadowsocks tunnel client-c (Custom) to its current isolated single-tenant worker, censorship-resistant.

Multi-Tor + HAProxy client-d (Free) to a Tor relay, 3-hop anonymous. Worker Tor SOCKS is VPN-only: it binds to the OpenVPN/WireGuard subnets, never a public IP, so the remote Tor route layers on an active VPN tunnel and is never an open proxy.

The full internal stack

Kodachi's own protocols, all 14 of them, ship inside every signed card. These are the internal counterpart to the 12 external providers below: nothing to paste, nothing to configure, routing-switch just brings the selected one up.

WireGuardAmneziaWGOpenVPNOpenVPN over CloakShadowsocksV2Ray VMessXray VMessXray VLESSXray VLESS + RealityXray TrojanHysteria2Mieru (mita)Dante SOCKS5Multi-Tor

Obfuscated variants AmneziaWG and OpenVPN over Cloak are the same two native VPNs with their signatures removed. AmneziaWG keeps WireGuard's ChaCha20-Poly1305 crypto and UDP data path but sends junk packets ahead of the handshake and randomizes its header fields, so it comes up on awg0 rather than wg0 and needs the amneziawg kernel module. Cloak wraps OpenVPN in a TCP transport that presents as a browser HTTPS session to a real decoy site, with ck-client holding the outer connection while OpenVPN peers only to 127.0.0.1. Because ck-client owns no TUN device, anything that spots a tunnel by TUN ownership or by a wg or tun name prefix misses both, which is why the client uses shared interface-family helpers instead. Both cost throughput and are the wrong choice on any network that is not fingerprinting VPN traffic, and neither replaces Tor.

DNS layer

700+ resolvers across DNSCrypt, DoH/DoT, Pi-hole filtering, and DNS-over-Tor, all shipping in every card and driven on the client by dns-switch.

DNSCryptDoH / DoTPi-holeDNS over Tor700+ resolversleak-checked

each card = { vps_info, services{ openvpn, wireguard, amneziawg, openvpn-cloak, shadowsocks, v2ray, xray, hysteria2, mita, dante, tor, dns } } · signed JSON

Card vault · 3 pools · live

Master keeps three privilege tiers

Matched by tier on auth and replenished by scheduled, inventory-aware generation. Current inventory: -- signed JSON cards across the pools, loaded from the master API.

NORMAL / FREE
--
cards live

Shared, high-density VPS. Every protocol included. Cards regenerated on cron when the pool dips below the threshold. Personal-use tier, same OS and binaries as the paid plans. Current node assignments come from the master API.

PREMIUM
--
cards live

Low-density shared VPS for consistent performance. Prioritized exits, lower contention, faster card rotation. Same protocol surface. Commercial usage rights included. Current node assignments come from the master API.

CUSTOM
--
cards live

Fully isolated VPS per customer. Bespoke configs per holder. Dedicated worker mapping. Intended for organisations and serious operational use. Current allocation: -- dedicated seats across -- customers.

Not locked to the fleet

External providers and on-device defenses

The Kodachi fleet is the turnkey path, not the only path.

External VPN Providers

Separate from the 14 internal protocols above, which are Kodachi's own and are already inside every signed card, the same dashboard's External VPN Providers tab catalogs 12 third-party providers plus a custom pseudo-provider that auto-detects pasted .ovpn / WireGuard / Shadowsocks / V2Ray / Hysteria2 configs and vmess:// / vless:// / trojan:// / ss:// / hysteria2:// / tuic:// URI schemes plus Clash YAML / sing-box JSON subscriptions.

VPN GateRiseupNordVPNIVPNPIASurfsharkMullvadAirVPNWindscribeProtonVPNExpressVPNTorGuardcustom

On-device defenses + AI

3-tier PANIC (Soft / Medium / Hard), Kill Switch, separately armed Destroy action, Threat Watchdog, Security Score, MAC randomize, RAM/Browser/Logs wipe, and -- workflow profiles. The Kodachi AI workspace adds 8 AI binaries and 9 named engine paths: TF-IDF, ONNX intent classifier, ONNX semantic, Mistral.rs, GenAI/Ollama, legacy local LLM, Claude Code CLI, Codex CLI, and OpenCode. Local engines run on-device; configured external providers can receive prompts and context.

3-tier PANIC (S/M/H)Kill Switch · armableDashboard NUKE · beyond LUKSThreat WatchdogMAC randomizeRAM wipe · cold-boot-- workflow profiles8 AI binariesKAICS
At a glance

The rack in numbers

--
VPS worker nodes
3
Privilege tiers
--
Cards live
--
Active sessions
14
Protocols per card
--
Services online

Loading current rack totals from /apps/stats_api.php…

kodachi.cloud // two-rack elevation · 29 signed binaries = 27 Kodachi + 2 third-party · -- cards live [ POWER OK ] // version loading · build --