How maksmoroz91/dreamwalker works
DreamWalker is an MVP Flutter/Android VPN-style client paired with an olcrtc server. The documented flow is user interaction through the client to an Android tunnel and onward to the server, which requires Xray. The tree identifies client, native VPN, and server components, but their source was not sampled; internal call wiring and the server script’s behavior are therefore not asserted.
Main entry points: AppVpnService.kt VPN service · olcrtc_client.dart olcrtc client · home_screen.dart Home screen · tunnel_interface.dart Tunnel interface
Components 18
Flutter client
- Home screen
lib/ui/home_screen.dart - olcrtc client
lib/vpn/olcrtc_client.dart - Tunnel interface
lib/vpn/tunnel_interface.dart - Flutter entry
lib/main.dart
Android VPN
- Main activity
android/app/src/main/kotlin/com/example/vpn_app/MainActivity.kt - olcrtc plugin
android/app/src/main/kotlin/com/example/vpn_app/OlcrtcPlugin.kt - VPN service
android/app/src/main/kotlin/com/example/vpn_app/AppVpnService.kt - VPN instance
android/app/src/main/kotlin/com/example/vpn_app/VpnServiceInstance.kt - Native runner
android/app/src/main/kotlin/com/example/vpn_app/OlcrtcNativeRunner.kt - TUN-to-SOCKS
android/app/src/main/kotlin/com/example/vpn_app/Tun2SocksRunner.kt - Lifecycle policy
android/app/src/main/kotlin/com/example/vpn_app/OlcrtcLifecyclePolicy.kt - Recovery policy
android/app/src/main/kotlin/com/example/vpn_app/OlcrtcRecoveryPolicy.kt
Server side
- Server script
scripts/server.sh - olcrtc server
worker_olcrtc_server/olcrtc - Name data
worker_olcrtc_server/names - Surname data
worker_olcrtc_server/surnames
Other components
- User
- Xray service
Connections 14
- User → Home screen: uses
- Flutter entry → Home screen: opens
- Home screen → olcrtc client: initiates
- olcrtc client → Tunnel interface: uses
- Tunnel interface → olcrtc plugin: bridges
- olcrtc plugin → Main activity: uses
- Main activity → VPN service: starts
- VPN service → VPN instance: manages
- VPN service → Native runner: runs
- VPN service → TUN-to-SOCKS: runs
- VPN service → Lifecycle policy: applies
- VPN service → Recovery policy: applies
- olcrtc client → olcrtc server: connects
- olcrtc server → Xray service: requires