Skip to content
@SurfShield

Surf Shield

Open-source VPN clients and drop-in SDKs powered by the Leaf proxy core. Bypass DPI with REALITY, TLS Fragmentation, and MPTP.
Surf Shield Logo

Surf Shield Ecosystem

Ship a censorship-resistant VPN in days, not months.

Website Documentation License


Welcome to the Surf Shield GitHub organization. We build high-performance, drop-in VPN SDKs and open-source reference clients powered by the Rust-based Leaf proxy engine.

Our mission is to provide developers and network operators with the "pick and shovel" infrastructure needed to bypass Deep Packet Inspection (DPI) and national firewalls without having to build complex OS-level routing from scratch.

🚀 Open-Source Reference Clients

We provide production-ready, Apache 2.0 licensed clients. You can fork them, apply your branding, inject your Panel API key, and launch your own VPN service in a weekend.

Currently Available

  • 📱 leaf-android: A modern Android VPN client built with Kotlin & Jetpack Compose. Includes a Quick Settings tile, leafvpn:// deep links, an in-memory log viewer, and 8-language localization. Wraps Android's native VpnService with a robust kill-switch.
  • sample-android-java: A legacy-friendly Android reference client built entirely in Java using standard XML layouts, perfect for teams maintaining older codebases or transitioning to the Surfshield ecosystem.
  • 💻 leaf-desktop: A cross-platform desktop client built with Tauri 2, Vue 3, and Rust. Features a system tray, auto-updater, .leafsub offline file association, and persistent window state. Supports Windows, macOS, and Linux.
  • 🌐 kotlin-multiplatform-desktop: A unified Kotlin Multiplatform (KMP) desktop client utilizing Compose for Desktop, demonstrating how to integrate the JVM SDK seamlessly across Windows, macOS, and Linux from a single codebase.

⚡ The "Always-On" Engine

Our SDKs handle the messy, OS-level networking so you don't have to.

  • Zero-Downtime Hot Swapping: Automatically switches nodes and protocols in the background without dropping the OS-level TUN device or leaking IP addresses.
  • Network Survivability: If a user walks from a Wi-Fi zone to a 5G cellular network, the SDK catches the network flap, re-binds the sockets, and triggers a health-check automatically.
  • Multi-Path Bonding: Supports MPTP to aggregate multiple TCP/UDP streams, saturating throttled networks.

🛡️ DPI Evasion Technologies

Our SDKs and the underlying Leaf core support every modern trick in the book to evade DPI and SNI filtering:

  • Protocols: Trojan, VMess, VLESS, Shadowsocks, Stealth, HTTP, SOCKS.
  • Transports: WebSocket, HTTPUpgrade, HTTP/2 (H2Mux), gRPC, xHTTP, QUIC, FakeTCP.
  • Obfuscation: REALITY protocol and TLS ClientHello Fragmentation (randomized packet splitting to break passive SNI inspection).

🏢 The Surf Shield Panel

The clients in this organization are designed to seamlessly integrate with the Surf Shield Orchestration Panel—a closed-core, multi-tenant backend that handles:

  • Node Load Balancing: Dynamic configuration generation.
  • Crypto Billing: Native integration with NOWPayments for automated deposits and payouts.
  • User Quotas: Per-gigabyte traffic tracking and active session limits.

Learn more about the backend at surfshield.org.

💬 Support & Contact


Built for developers. Engineered for an open internet.
```

Popular repositories Loading

  1. leaf-desktop leaf-desktop Public

    Forked from shiroedev2024/leaf-desktop

    A simple tauri GUI for leaf proxy

    Vue

  2. leaf-android leaf-android Public

    Forked from shiroedev2024/leaf-android

    A Simple VPN for based on leaf proxy

    Kotlin

  3. .github .github Public

  4. kotlin-multiplatform-desktop kotlin-multiplatform-desktop Public

    Forked from shiroedev2024/kotlin-multiplatform-desktop

    A modern Kotlin Multiplatform VPN SDK desktop client built with Compose and JVM, enabling developers to integrate high-performance, censorship-resistant networking (V2Ray, VLESS, Trojan, QUIC) into…

    Kotlin

  5. sample-android-java sample-android-java Public

    Forked from shiroedev2024/sample-android-java

    A minimal Android VPN SDK integration example (Java + JNI) demonstrating how to build a secure VPN client using V2Ray/VLESS protocols and modern DPI bypass techniques.

    Java

Repositories

Showing 5 of 5 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…