Okiyumi VPN
Technology case study: smart-routing VPN for Windows
Systems · networking
A study of an ambitious networking system: per-application and per-domain routing instead of “all or nothing”.
Context
Okiyumi VPN is a Windows platform in closed beta. I study it as a technology case: how the system is built, what problems it solves and which engineering trade-offs it makes.
Problem
A typical VPN is a blunt tool: either all traffic goes through the tunnel or none. The goal is rule-based routing — an app through the VPN, a domain direct, something blocked — while surviving reboots and crashes without leaving the machine in a broken network state.
How the system works
- 01
Smart Routing: Application → VPN / Direct / Block and Domain → VPN / Direct / Block, with TTL-aware domain rules and route ownership tracking.
- 02
Privilege separation: the React + Tauri UI talks to a dedicated Windows service over named pipes — the UI never needs administrator rights.
- 03
Transactional network changes, two-phase VPN connection and real WireGuard handshake validation — the system recovers from crashes and reboots on its own.
Architecture
React UI
interfaceTauri
native shellRust layer
named pipes · DPAPIOkiyumiEngine
Windows serviceNetwork Safety Layer
Smart Routing · WireGuard · WFP · DNSWindows networking
FLOW
- 01Application / domainrule→ Smart Routing
- 02Smart Routing→ VPN / Direct / Block
Numbers
all metrics are project figures, not personal achievements
project Rust core tests
project metric
project provisioning server tests
project metric
Why it matters
- For me this is a study of a complex system: how a product idea (“a VPN you don't keep toggling”) turns into an architecture of services, driver boundaries and crash recovery.
What I took from it
- How a product requirement dictates an engineering boundary: if the UI must not need admin rights, you need a separate service and a channel to it.
Stack
- TypeScript
- React 18
- Vite
- Zustand
- Tailwind CSS
- Tauri 2
- Rust
- WireGuard
- WFP
- Named Pipes
- DPAPI
- Debian
- systemd
Skills
- Technical literacy
- Systems analysis
Outcome
- A full networking stack on Windows: WFP, routing APIs, a DNS resolver and a custom routing-driver boundary — not a wrapper around someone else's client.
- The project's stability is verified by tests: 353 core tests plus separate suites for frontend, server and deployment.